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
This commit is contained in:
Dave Allison
2013-11-13 17:15:50 -08:00
parent be8fbb8fb6
commit 24bafbc933

View File

@@ -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;