| Index: mojo/runner/android/apk/src/org/chromium/mojo/shell/Bootstrap.java
|
| diff --git a/mojo/runner/android/apk/src/org/chromium/mojo/shell/Bootstrap.java b/mojo/runner/android/apk/src/org/chromium/mojo/shell/Bootstrap.java
|
| index 8ab201fd62727a0e8b8f1bc6677123fb2439261d..81247a238397425e088aac10114881091650fee1 100644
|
| --- a/mojo/runner/android/apk/src/org/chromium/mojo/shell/Bootstrap.java
|
| +++ b/mojo/runner/android/apk/src/org/chromium/mojo/shell/Bootstrap.java
|
| @@ -22,14 +22,16 @@ public class Bootstrap implements Runnable {
|
| private final File mApplicationNativeLibrary;
|
| private final int mHandle;
|
| private final long mRunApplicationPtr;
|
| + private final boolean mIsCachedApp;
|
|
|
| public Bootstrap(Context context, File bootstrapNativeLibrary, File applicationNativeLibrary,
|
| - Integer handle, Long runApplicationPtr) {
|
| + Integer handle, Long runApplicationPtr, Boolean isCachedApp) {
|
| mContext = context;
|
| mBootstrapNativeLibrary = bootstrapNativeLibrary;
|
| mApplicationNativeLibrary = applicationNativeLibrary;
|
| mHandle = handle;
|
| mRunApplicationPtr = runApplicationPtr;
|
| + mIsCachedApp = isCachedApp;
|
| }
|
|
|
| @Override
|
| @@ -37,9 +39,9 @@ public class Bootstrap implements Runnable {
|
| System.load(mBootstrapNativeLibrary.getAbsolutePath());
|
| System.load(mApplicationNativeLibrary.getAbsolutePath());
|
| nativeBootstrap(mContext, mApplicationNativeLibrary.getAbsolutePath(), mHandle,
|
| - mRunApplicationPtr);
|
| + mRunApplicationPtr, mIsCachedApp);
|
| }
|
|
|
| native void nativeBootstrap(Context context, String libraryPath, int handle,
|
| - long runApplicationPtr);
|
| + long runApplicationPtr, boolean isCachedApp);
|
| }
|
|
|