Revert "Mitigate the app visibility gap"
This reverts commit 51b96648d5.
Reason for revert: This may conflict with b/238420313, and will
have another CL to address the original problem.
Change-Id: Idd19907384af665ebf3dc387119d1955c99a876f
This commit is contained in:
@@ -3555,11 +3555,6 @@ 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();
|
||||
|
||||
Reference in New Issue
Block a user