This source file includes following definitions.
- registerResources
package org.chromium.android_webview.shell;
import android.content.Context;
import org.chromium.android_webview.AwResource;
public class AwShellResourceProvider {
private static boolean sInitialized;
public static void registerResources(Context context) {
if (sInitialized) {
return;
}
AwResource.setResources(context.getResources());
AwResource.setErrorPageResources(R.raw.error, R.raw.blank_html);
AwResource.setDefaultTextEncoding(R.string.default_encoding);
sInitialized = true;
}
}