From 24bafbc93387be7e56116f9612e6d60ecbc0d66e Mon Sep 17 00:00:00 2001 From: Dave Allison Date: Wed, 13 Nov 2013 17:15:50 -0800 Subject: 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 --- core/java/android/app/ActivityThread.java | 5 +++++ 1 file changed, 5 insertions(+) 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; -- cgit v1.2.3-59-g8ed1b