Chromium Code Reviews| Index: chrome/browser/android/monochrome_entry_point.cc |
| diff --git a/chrome/browser/android/monochrome_entry_point.cc b/chrome/browser/android/monochrome_entry_point.cc |
| index d6658bebc7d1a5d80752b170874c81fb6ab1076d..270bd19ee192f78cc44365f25705126d7147761b 100644 |
| --- a/chrome/browser/android/monochrome_entry_point.cc |
| +++ b/chrome/browser/android/monochrome_entry_point.cc |
| @@ -7,6 +7,7 @@ |
| #include "base/android/library_loader/library_loader_hooks.h" |
| #include "base/bind.h" |
| #include "chrome/app/android/chrome_jni_onload.h" |
| +#include "ui/base/resource/resource_bundle_android.h" |
| namespace { |
| @@ -23,6 +24,7 @@ bool Init() { |
| // This is called by the VM when the shared library is first loaded. |
| JNI_EXPORT jint JNI_OnLoad(JavaVM* vm, void* reserved) { |
| base::android::InitVM(vm); |
| + ui::SetLocalePaksStoredInApk(true); |
|
michaelbai
2016/10/11 21:27:44
I still prefer not to do this, because I want to m
agrieve
2016/10/12 02:27:25
Just to be clear - this is *not* the existing beha
Torne
2016/10/12 10:35:55
Oh, so monochrome is currently extracting the loca
michaelbai
2016/10/12 16:39:49
I understood you want both WebView and Chrome in m
|
| JNIEnv* env = base::android::AttachCurrentThread(); |
| bool ret; |
| int library_process_type = base::android::GetLibraryProcessType(env); |