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

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

Issue 399663002: Have mojo_shell run in its custom thread on android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 5 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/mojo.gyp ('k') | mojo/shell/android/apk/src/org/chromium/mojo_shell_apk/MojoShellActivity.java » ('j') | 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/MojoMain.java
diff --git a/mojo/shell/android/apk/src/org/chromium/mojo_shell_apk/MojoMain.java b/mojo/shell/android/apk/src/org/chromium/mojo_shell_apk/MojoMain.java
index 55fa0becaf0dba08af19c06b20ff78ed7dba9691..7a27003feadcaf0fb2ec59a38265378c4cba0e29 100644
--- a/mojo/shell/android/apk/src/org/chromium/mojo_shell_apk/MojoMain.java
+++ b/mojo/shell/android/apk/src/org/chromium/mojo_shell_apk/MojoMain.java
@@ -31,13 +31,13 @@ public class MojoMain {
/**
* Starts the specified application in the specified context.
**/
- public static void start(Context context, String appUrl) {
- nativeStart(context, appUrl);
+ public static void start(final String appUrl) {
+ nativeStart(appUrl);
}
/**
* Initializes the native system. This API should be called only once per process.
**/
private static native void nativeInit(Context context);
- private static native void nativeStart(Context context, String appUrl);
+ private static native void nativeStart(String appUrl);
};
« no previous file with comments | « mojo/mojo.gyp ('k') | mojo/shell/android/apk/src/org/chromium/mojo_shell_apk/MojoShellActivity.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698