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

Unified Diff: mojo/shell/android/apk/src/org/chromium/mojo_shell_apk/MojoShellActivity.java

Issue 249713006: Mojo: Fix crash on MojoShell on Android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated to ToT. Created 6 years, 8 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 | « mojo/shell/android/apk/src/org/chromium/mojo_shell_apk/MojoMain.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/android/apk/src/org/chromium/mojo_shell_apk/MojoShellActivity.java
diff --git a/mojo/shell/android/apk/src/org/chromium/mojo_shell_apk/MojoShellActivity.java b/mojo/shell/android/apk/src/org/chromium/mojo_shell_apk/MojoShellActivity.java
index 15a5861a8f3f3b1bf721c0136eb02e5d75b06820..2f81c6ad369cd4e2c84248f30fb753a4432ee1fa 100644
--- a/mojo/shell/android/apk/src/org/chromium/mojo_shell_apk/MojoShellActivity.java
+++ b/mojo/shell/android/apk/src/org/chromium/mojo_shell_apk/MojoShellActivity.java
@@ -33,7 +33,7 @@ public class MojoShellActivity extends Activity {
return;
}
- MojoMain.init(this);
+ MojoMain.ensureInitialized(this);
String appUrl = getUrlFromIntent(getIntent());
if (appUrl == null) {
« no previous file with comments | « mojo/shell/android/apk/src/org/chromium/mojo_shell_apk/MojoMain.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698