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

Commit 28de673a authored by Jackal Guo's avatar Jackal Guo Committed by Android (Google) Code Review
Browse files

Merge "Mitigate the app visibility gap"

parents bdedf6bc 51b96648
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -3549,6 +3549,11 @@ public class DevicePolicyManagerService extends BaseIDevicePolicyManager {
        final CallerIdentity caller = getCallerIdentity();
        Preconditions.checkCallAuthorization(hasFullCrossUsersPermission(caller, userHandle));
        if (mInjector.getPackageManagerInternal().filterAppAccess(packageName, caller.getUid(),
                userHandle)) {
            return false;
        }
        synchronized (getLockObject()) {
            DevicePolicyData policy = getUserData(userHandle);
            final int N = policy.mAdminList.size();