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

Commit 8559223d authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix testIsPackageSignedByKeySet_cannotDetectCrossUserPkg" into main

parents ce65db87 2b78a2f9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5386,7 +5386,7 @@ public class ComputerEngine implements Computer {
                    + ", uid:" + callingUid);
            throw new IllegalArgumentException("Unknown package: " + packageName);
        }
        if (pkg.getUid() != callingUid
        if (!UserHandle.isSameApp(callingUid, pkg.getUid())
                && Process.SYSTEM_UID != callingUid) {
            throw new SecurityException("May not access signing KeySet of other apps.");
        }