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

Commit 88d6b17e authored by Alex Kershaw's avatar Alex Kershaw Committed by Automerger Merge Worker
Browse files

Merge "Revert "Enfore cross user permission to getPackagesForUid"" into sc-dev am: 18e49643

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13517166

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ib04630d57171a9173813b6418065bf33ca8f402e
parents 30be9b6f 18e49643
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -3616,8 +3616,6 @@ public class PackageManagerService extends IPackageManager.Stub
            final boolean isCallerInstantApp = getInstantAppPackageName(callingUid) != null;
            final int userId = UserHandle.getUserId(uid);
            final int appId = UserHandle.getAppId(uid);
            enforceCrossUserPermission(callingUid, userId,
                    /* requireFullPermission */ false, /* checkShell */ false, "getPackagesForUid");
            return getPackagesForUidInternalBody(callingUid, userId, appId, isCallerInstantApp);
        }