Index: android_webview/glue/java/src/com/android/webview/chromium/WebViewChromiumFactoryProvider.java |
diff --git a/android_webview/glue/java/src/com/android/webview/chromium/WebViewChromiumFactoryProvider.java b/android_webview/glue/java/src/com/android/webview/chromium/WebViewChromiumFactoryProvider.java |
index 1702959373b77181bab9340098712955fe6e3dcb..7eb824db7289fedfa1f4df6bcf9557f92ee39717 100644 |
--- a/android_webview/glue/java/src/com/android/webview/chromium/WebViewChromiumFactoryProvider.java |
+++ b/android_webview/glue/java/src/com/android/webview/chromium/WebViewChromiumFactoryProvider.java |
@@ -45,6 +45,7 @@ import org.chromium.android_webview.AwQuotaManagerBridge; |
import org.chromium.android_webview.AwResource; |
import org.chromium.android_webview.AwSettings; |
import org.chromium.android_webview.HttpAuthDatabase; |
+import org.chromium.android_webview.R; |
import org.chromium.android_webview.ResourcesContextWrapperFactory; |
import org.chromium.base.BuildConfig; |
import org.chromium.base.CommandLine; |
@@ -61,6 +62,7 @@ import org.chromium.base.library_loader.LibraryProcessType; |
import org.chromium.base.library_loader.ProcessInitException; |
import org.chromium.content.browser.ContentViewStatics; |
import org.chromium.net.NetworkChangeNotifier; |
+import org.chromium.ui.base.ResourceBundle; |
import java.io.File; |
import java.util.Queue; |
@@ -390,6 +392,7 @@ public class WebViewChromiumFactoryProvider implements WebViewFactoryProvider { |
final String webViewPackageName = WebViewFactory.getLoadedPackageInfo().packageName; |
Context context = ContextUtils.getApplicationContext(); |
setUpResources(webViewPackageName, context); |
+ ResourceBundle.initializeLocalePaks(context, R.array.locale_paks); |
initPlatSupportLibrary(); |
initNetworkChangeNotifier(context); |
final int extraBindFlags = Context.BIND_EXTERNAL_SERVICE; |