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

Commit 8fad06d0 authored by Suprabh Shukla's avatar Suprabh Shukla Committed by Automerger Merge Worker
Browse files

Merge "Fix unsuspend from dialog on secondary users" into rvc-dev am: 54f0b9e2 am: 12cd1482

Change-Id: I354103eed4b9438faf5ce8f88b782c4354aa8bdc
parents 360d4cef 12cd1482
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -13221,7 +13221,9 @@ public class PackageManagerService extends IPackageManager.Stub
    private void enforceCanSetPackagesSuspendedAsUser(String callingPackage, int callingUid,
            int userId, String callingMethod) {
        if (callingUid == Process.ROOT_UID || callingUid == Process.SYSTEM_UID) {
        if (callingUid == Process.ROOT_UID
                // Need to compare app-id to allow system dialogs access on secondary users
                || UserHandle.getAppId(callingUid) == Process.SYSTEM_UID) {
            return;
        }