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

Commit c7cd1eb6 authored by Android Build Merger (Role)'s avatar Android Build Merger (Role) Committed by Android (Google) Code Review
Browse files

Merge "Merge "Pass app's data dir to ART" am: 16749ac8 am: 33ed6773 am: 6277c39b"

parents 26c73b0e 278f199a
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -5920,6 +5920,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();
        }