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

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

Issue 2894763002: Revert of Separate WebView's locale paks from Chrome's locale paks (Closed)
Patch Set: 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
« no previous file with comments | « 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 3567d37b5924634938d6e19acf93bb26349ee79e..85822263f9ddb2c6394c034ec0690f932d2b1713 100644
--- a/ui/android/java/src/org/chromium/ui/base/ResourceBundle.java
+++ b/ui/android/java/src/org/chromium/ui/base/ResourceBundle.java
@@ -25,9 +25,8 @@
@CalledByNative
private static String getLocalePakResourcePath(String locale) {
- if (Arrays.binarySearch(BuildConfig.UNCOMPRESSED_LOCALES,
- "stored-locales/" + locale) >= 0) {
- return "assets/stored-locales/" + locale + ".pak";
+ if (Arrays.binarySearch(BuildConfig.UNCOMPRESSED_LOCALES, locale) >= 0) {
+ return "assets/" + locale + ".pak";
}
return null;
}
« no previous file with comments | « chrome/chrome_paks.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698