Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 24bafbc9 authored by Dave Allison's avatar Dave Allison
Browse files

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
parent be8fbb8f
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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;