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

Commit e5736b67 authored by Winson Chung's avatar Winson Chung Committed by android-build-merger
Browse files

Merge "Allow the system recents component to fetch info for user and profiles" into pi-dev

am: f5976be9

Change-Id: I30259434bbc33a4184dffd2fc1430caba2ef7ed0
parents 0221eaa3 f5976be9
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -4789,7 +4789,8 @@ public class PackageManagerService extends IPackageManager.Stub
            // require the permission to be held; the calling uid and given user id referring
            // to the same user is not sufficient
            mPermissionManager.enforceCrossUserPermission(
                    Binder.getCallingUid(), userId, false, false, true,
                    Binder.getCallingUid(), userId, false, false,
                    !isRecentsAccessingChildProfiles(Binder.getCallingUid(), userId),
                    "MATCH_ANY_USER flag requires INTERACT_ACROSS_USERS permission at "
                    + Debug.getCallers(5));
        } else if ((flags & PackageManager.MATCH_UNINSTALLED_PACKAGES) != 0 && isCallerSystemUser