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

Commit 2b3b706e authored by Narayan Kamath's avatar Narayan Kamath Committed by Android (Google) Code Review
Browse files

Merge "Fix getPackageInfo for the "android" package in the system server." into lmp-dev

parents e6b63e6c 3480ab45
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1811,6 +1811,10 @@ public final class ActivityThread {
        synchronized (this) {
            getSystemContext().installSystemApplicationInfo(info, classLoader);

            // The code package for "android" in the system server needs
            // to be the system context's package.
            mPackages.put("android", new WeakReference<LoadedApk>(getSystemContext().mPackageInfo));

            // give ourselves a default profiler
            mProfiler = new Profiler();
        }