// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.android_webview.shell;
import android.content.Context;
import org.chromium.android_webview.common.AwResource;
/** Registers resources for the Android webview shell. */
public class AwShellResourceProvider {
private static boolean sInitialized;
public static void registerResources(Context context) {
if (sInitialized) {
return;
}
AwResource.setResources(context.getResources());
AwResource.setConfigKeySystemUuidMapping(R.array.config_key_system_uuid_mapping);
sInitialized = true;
}
}