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

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

Issue 2406093002: Fix monochrome not booting issue (Closed)
Patch Set: Created 4 years, 2 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/BaseChromiumApplication.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 7b75471f977617c4835b314afb67d73547989458..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,9 +4,11 @@
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.base.ResourceBundle;
/**
* The android_webview shell Application subclass.
@@ -16,6 +18,16 @@ public class AwShellApplication extends ContentApplication {
super(false /* mShouldInitializeApplicationStatusTracking */);
}
+ @Override
+ public void onCreate() {
+ super.onCreate();
+ }
+
+ @Override
+ protected void initializeLibraryDependencies() {
+ ResourceBundle.initializeLocalePaks(this, R.array.locale_paks);
+ }
+
@SuppressFBWarnings("DMI_HARDCODED_ABSOLUTE_FILENAME")
@Override
public void initCommandLine() {
« no previous file with comments | « android_webview/test/BUILD.gn ('k') | base/android/java/src/org/chromium/base/BaseChromiumApplication.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698