| Index: mojo/shell/standalone/android/apk/src/org/chromium/mojo/shell/AndroidHandler.java
|
| diff --git a/mojo/runner/android/apk/src/org/chromium/mojo/shell/AndroidHandler.java b/mojo/shell/standalone/android/apk/src/org/chromium/mojo/shell/AndroidHandler.java
|
| similarity index 98%
|
| rename from mojo/runner/android/apk/src/org/chromium/mojo/shell/AndroidHandler.java
|
| rename to mojo/shell/standalone/android/apk/src/org/chromium/mojo/shell/AndroidHandler.java
|
| index 8516e63454d0dd48d87d8f2592063207e6506b8d..7a09c048ce5b10aa962c8345d91b4e620393ffc3 100644
|
| --- a/mojo/runner/android/apk/src/org/chromium/mojo/shell/AndroidHandler.java
|
| +++ b/mojo/shell/standalone/android/apk/src/org/chromium/mojo/shell/AndroidHandler.java
|
| @@ -23,7 +23,7 @@ import java.lang.reflect.Constructor;
|
| * TODO(ppi): create a separate instance for each application being bootstrapped to keep track of
|
| * the temporary files and clean them up once the execution finishes.
|
| */
|
| -@JNINamespace("mojo::runner")
|
| +@JNINamespace("mojo::shell")
|
| public class AndroidHandler {
|
| private static final String TAG = "AndroidHandler";
|
|
|
| @@ -63,8 +63,8 @@ public class AndroidHandler {
|
| */
|
| @CalledByNative
|
| private static String getNewTempArchivePath(Context context) throws IOException {
|
| - return File.createTempFile(ARCHIVE_PREFIX, ARCHIVE_SUFFIX,
|
| - getAppDir(context)).getAbsolutePath();
|
| + return File.createTempFile(ARCHIVE_PREFIX, ARCHIVE_SUFFIX, getAppDir(context))
|
| + .getAbsolutePath();
|
| }
|
|
|
| /**
|
| @@ -78,8 +78,8 @@ public class AndroidHandler {
|
| * payload.
|
| */
|
| @CalledByNative
|
| - private static boolean bootstrap(Context context, String archivePath, int handle,
|
| - long runApplicationPtr) {
|
| + private static boolean bootstrap(
|
| + Context context, String archivePath, int handle, long runApplicationPtr) {
|
| File bootstrapJavaLibrary;
|
| File bootstrapNativeLibrary;
|
| try {
|
| @@ -103,7 +103,7 @@ public class AndroidHandler {
|
| getAppDir(context), FileHelper.FileType.TEMPORARY,
|
| FileHelper.ArchiveType.NORMAL);
|
| } catch (Exception e) {
|
| - Log.e(TAG, "Extraction of application files from the archive failed.", e);
|
| + Log.e(TAG, "Extraction of application files from the archive failed.", e);
|
| return false;
|
| }
|
|
|
|
|