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

Commit 556893ca authored by Hai Zhang's avatar Hai Zhang
Browse files

PermissionController is now part of the core system.

PermissionController hosts default permission granting and role
management, so it's a critical part of the core system.

Bug: 123647060
Test: manual
Change-Id: I3cc1dc0c385676ab83b516b4d6b6642857b10865
parent b8543da9
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -3046,7 +3046,6 @@ public class PackageManagerService extends IPackageManager.Stub
                mSharedSystemSharedLibraryPackageName = getRequiredSharedLibraryLPr(
                        PackageManager.SYSTEM_SHARED_LIBRARY_SHARED,
                        SharedLibraryInfo.VERSION_UNDEFINED);
                mRequiredPermissionControllerPackage = getRequiredPermissionControllerLPr();
            } else {
                mRequiredVerifierPackage = null;
                mRequiredInstallerPackage = null;
@@ -3055,8 +3054,10 @@ public class PackageManagerService extends IPackageManager.Stub
                mIntentFilterVerifier = null;
                mServicesSystemSharedLibraryPackageName = null;
                mSharedSystemSharedLibraryPackageName = null;
                mRequiredPermissionControllerPackage = null;
            }
            // PermissionController hosts default permission granting and role management, so it's a
            // critical part of the core system.
            mRequiredPermissionControllerPackage = getRequiredPermissionControllerLPr();
            // Initialize InstantAppRegistry's Instant App list for all users.
            final int[] userIds = UserManagerService.getInstance().getUserIds();