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

Commit 3480ab45 authored by Narayan Kamath's avatar Narayan Kamath
Browse files

Fix getPackageInfo for the "android" package in the system server.

bug: 16555230
Change-Id: I90ebf9b35fda8246b0079f67b1469f96c3b4ede2
parent bdc78678
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);

            // 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();
        }