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

Commit 680215f5 authored by Fyodor Kupolov's avatar Fyodor Kupolov Committed by Android (Google) Code Review
Browse files

Merge "Fix instrumentation context initialization"

parents e920098f af38b8ea
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4841,7 +4841,7 @@ public final class ActivityThread {
        if (ii != null) {
            final ApplicationInfo instrApp = new ApplicationInfo();
            ii.copyTo(instrApp);

            instrApp.initForUser(UserHandle.myUserId());
            final LoadedApk pi = getPackageInfo(instrApp, data.compatInfo,
                    appContext.getClassLoader(), false, true, false);
            final ContextImpl instrContext = ContextImpl.createAppContext(this, pi);