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