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

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: always use org.chromium.ui as package 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..2a075648afbfba5078d98f2e5f8f395c4afbb638 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,10 +4,10 @@
package org.chromium.android_webview.shell;
-import org.chromium.android_webview.R;
import org.chromium.base.CommandLine;
import org.chromium.base.annotations.SuppressFBWarnings;
import org.chromium.content.app.ContentApplication;
+import org.chromium.ui.LocalePakFiles;
import org.chromium.ui.base.ResourceBundle;
/**
@@ -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