Index: chrome/browser/chrome_browser_main_android.cc |
diff --git a/chrome/browser/chrome_browser_main_android.cc b/chrome/browser/chrome_browser_main_android.cc |
index dbb1287b135041a08702e99bcad0a6df5b2e89fe..b8f38116b8b29964720f25f3744d98285fe5f3ec 100644 |
--- a/chrome/browser/chrome_browser_main_android.cc |
+++ b/chrome/browser/chrome_browser_main_android.cc |
@@ -70,7 +70,10 @@ int ChromeBrowserMainPartsAndroid::PreCreateThreads() { |
crash_dump_manager_.reset(new breakpad::CrashDumpManager(crash_dump_dir)); |
} |
- ui::SetLocalePaksStoredInApk(false); |
+ // Auto-detect based on en-US whether locale .pak files are store uncompressed |
+ // (monochrome) vs extracted (non-monochrome). |
+ ui::SetLocalePaksStoredInApk( |
+ !ui::GetPathForAndroidLocalePakWithinApk("en-US").empty()); |
return ChromeBrowserMainParts::PreCreateThreads(); |
} |