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

Commit 8d900812 authored by Patrick Baumann's avatar Patrick Baumann
Browse files

Revert "Adds caller check to getAllPackages()"

This reverts commit f7efdb42.

Reason for revert: build failure
Bug: 174661955
Change-Id: Ic29331e90176c52a0c562ac119650d0bc0fd9a19
Merged-In: I77460ae19a4d41151577646441f11e2eddbb741a
parent a9aaed5d
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -5792,7 +5792,6 @@ public class PackageManagerService extends IPackageManager.Stub
    @Override
    public List<String> getAllPackages() {
        enforceSystemOrRootOrShell("getAllPackages is limited to privileged callers");
        final int callingUid = Binder.getCallingUid();
        final int callingUserId = UserHandle.getUserId(callingUid);
        synchronized (mPackages) {