Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(127)

Unified Diff: ui/android/java/src/org/chromium/ui/base/ResourceBundle.java

Issue 2890813002: Separate WebView's locale paks from Chrome's locale paks (Closed)
Patch Set: renaming "stored" Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« chrome/android/BUILD.gn ('K') | « chrome/chrome_paks.gni ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/android/java/src/org/chromium/ui/base/ResourceBundle.java
diff --git a/ui/android/java/src/org/chromium/ui/base/ResourceBundle.java b/ui/android/java/src/org/chromium/ui/base/ResourceBundle.java
index 85822263f9ddb2c6394c034ec0690f932d2b1713..3567d37b5924634938d6e19acf93bb26349ee79e 100644
--- a/ui/android/java/src/org/chromium/ui/base/ResourceBundle.java
+++ b/ui/android/java/src/org/chromium/ui/base/ResourceBundle.java
@@ -25,8 +25,9 @@ final class ResourceBundle {
@CalledByNative
private static String getLocalePakResourcePath(String locale) {
- if (Arrays.binarySearch(BuildConfig.UNCOMPRESSED_LOCALES, locale) >= 0) {
- return "assets/" + locale + ".pak";
+ if (Arrays.binarySearch(BuildConfig.UNCOMPRESSED_LOCALES,
+ "stored-locales/" + locale) >= 0) {
+ return "assets/stored-locales/" + locale + ".pak";
}
return null;
}
« chrome/android/BUILD.gn ('K') | « chrome/chrome_paks.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698