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

Commit 16749ac8 authored by David Brazdil's avatar David Brazdil Committed by Gerrit Code Review
Browse files

Merge "Pass app's data dir to ART"

parents c895b818 06f2e129
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -5694,6 +5694,10 @@ public final class ActivityThread extends ClientTransactionHandler {
                                                UserHandle.myUserId());
        VMRuntime.setProcessPackageName(data.appInfo.packageName);

        // Pass data directory path to ART. This is used for caching information and
        // should be set before any application code is loaded.
        VMRuntime.setProcessDataDirectory(data.appInfo.dataDir);

        if (mProfiler.profileFd != null) {
            mProfiler.startProfiling();
        }