diff options
| author | 2013-11-13 17:15:50 -0800 | |
|---|---|---|
| committer | 2013-12-18 17:01:37 -0800 | |
| commit | 24bafbc93387be7e56116f9612e6d60ecbc0d66e (patch) | |
| tree | 2073797e7b64dccfbc8d34309e640b6384dbdb85 | |
| parent | be8fbb8fb63fddac2310dfbafa2594ed165b16b1 (diff) | |
Add a call to registerAppInfo for the VMRuntime
This calls into the VMRuntime tells it where the
application directory is located.
Bug: 11539952
Change-Id: I20e0b8c63e459699a1bc9af435e65ae96f1e1e73
| -rw-r--r-- | core/java/android/app/ActivityThread.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/java/android/app/ActivityThread.java b/core/java/android/app/ActivityThread.java index d849965a6544..97baf9a90417 100644 --- a/core/java/android/app/ActivityThread.java +++ b/core/java/android/app/ActivityThread.java @@ -96,6 +96,8 @@ import com.android.internal.util.FastPrintWriter; import com.android.org.conscrypt.OpenSSLSocketImpl; import com.google.android.collect.Lists; +import dalvik.system.VMRuntime; + import java.io.File; import java.io.FileDescriptor; import java.io.FileOutputStream; @@ -740,6 +742,9 @@ public final class ActivityThread { setCoreSettings(coreSettings); + // Tell the VMRuntime about the application. + VMRuntime.registerAppInfo(appInfo.dataDir, appInfo.processName); + AppBindData data = new AppBindData(); data.processName = processName; data.appInfo = appInfo; |