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

Commit f1d57ecf authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Revert "Adds caller check to getAllPackages()"" into sc-dev am: dda564f5

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I4a7f0c95c14879f510aab626389ff4ec016a86b9
parents 38a7da99 dda564f5
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -8940,7 +8940,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 (mLock) {