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

Commit c20196b8 authored by Patrick Baumann's avatar Patrick Baumann
Browse files

Revert "Adds caller check to getAllPackages()"

This reverts commit ad9bbd8c.

Reason for revert: Used by IORap b/179618216

Change-Id: I3eeb9cd1777a9c2c7ab71314d4019d9a499b732f
parent ad9bbd8c
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -8946,7 +8946,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) {