Merge "Fix inconsistency in reporting device admin active state." into klp-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
48dab493b9
@@ -522,6 +522,7 @@ public class DevicePolicyManagerService extends IDevicePolicyManager.Stub {
|
||||
|| pm.getReceiverInfo(aa.info.getComponent(), 0, userHandle) == null) {
|
||||
removed = true;
|
||||
policy.mAdminList.remove(i);
|
||||
policy.mAdminMap.remove(aa.info.getComponent());
|
||||
}
|
||||
} catch (RemoteException re) {
|
||||
// Shouldn't happen
|
||||
|
||||
Reference in New Issue
Block a user