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

Commit abc98f8b authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "Merge "Fix unsuspend from dialog on secondary users" into rvc-dev am:...

Merge "Merge "Fix unsuspend from dialog on secondary users" into rvc-dev am: 54f0b9e2 am: 15de5b9e am: 22bbc656" into rvc-qpr-dev-plus-aosp am: d15085ae

Change-Id: I293ab6aca84b8588551be1a93cb23965341b4ccf
parents b7983884 d15085ae
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -13228,7 +13228,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;
        }