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

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

Issue 2369683002: Revert of Move language pak files to assets. (Closed)
Patch Set: 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
« no previous file with comments | « android_webview/test/BUILD.gn ('k') | base/android/java/src/org/chromium/base/LocaleUtils.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 de3329468769a7d1e94bc4f8f34b61ec87ab9763..1bbf97d1d51a088609456d67380a4f1b7f007d66 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 @@
@Override
protected void initializeLibraryDependencies() {
- ResourceBundle.initializeLocalePaks(LocalePakFiles.getFiles());
+ ResourceBundle.initializeLocalePaks(this, R.array.locale_paks);
}
@SuppressFBWarnings("DMI_HARDCODED_ABSOLUTE_FILENAME")
« no previous file with comments | « android_webview/test/BUILD.gn ('k') | base/android/java/src/org/chromium/base/LocaleUtils.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698