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

Commit 18e49643 authored by Alex Kershaw's avatar Alex Kershaw Committed by Android (Google) Code Review
Browse files

Merge "Revert "Enfore cross user permission to getPackagesForUid"" into sc-dev

parents 025a7336 d5bc510f
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);
        }