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

Unified Diff: android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellApplication.java

Issue 2345143002: Move language pak files to assets. (Closed)
Patch Set: Added srcjar_deps for chrome_apk targets Created 4 years, 3 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
Index: android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellApplication.java
diff --git a/android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellApplication.java b/android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellApplication.java
index 1bbf97d1d51a088609456d67380a4f1b7f007d66..44950fbde873a85fa05bea001a6810ead8fcce76 100644
--- a/android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellApplication.java
+++ b/android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellApplication.java
@@ -4,7 +4,7 @@
package org.chromium.android_webview.shell;
-import org.chromium.android_webview.R;
+import org.chromium.android_webview.LocalePakFiles;
import org.chromium.base.CommandLine;
import org.chromium.base.annotations.SuppressFBWarnings;
import org.chromium.content.app.ContentApplication;
@@ -25,7 +25,7 @@ public class AwShellApplication extends ContentApplication {
@Override
protected void initializeLibraryDependencies() {
- ResourceBundle.initializeLocalePaks(this, R.array.locale_paks);
+ ResourceBundle.initializeLocalePaks(this, LocalePakFiles.getFiles());
}
@SuppressFBWarnings("DMI_HARDCODED_ABSOLUTE_FILENAME")

Powered by Google App Engine
This is Rietveld 408576698