diff options
| author | 2016-12-23 16:36:48 +0000 | |
|---|---|---|
| committer | 2016-12-23 16:38:00 +0000 | |
| commit | a04a29ae02f100d61012c4834ab255ec76dc7d16 (patch) | |
| tree | 6b6be8c63f3ae16ff7d9dc24b5b4c3ac48d1dd0f | |
| parent | 059a60b83dcd0293ce762c11e6bb12893d303045 (diff) | |
Don't check for monitoring CA certs in cryptkeeper
Change-Id: I35dc031e4cd652a79174d03f6a9f02120f46abd2
Test: CtsVerifier (ca certificate test)
Fix: 33454899
| -rw-r--r-- | services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java b/services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java index 4d3a35e0fa12..019c5411db59 100644 --- a/services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java +++ b/services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java @@ -541,8 +541,10 @@ public class DevicePolicyManagerService extends IDevicePolicyManager.Stub { if (Intent.ACTION_USER_UNLOCKED.equals(action) || Intent.ACTION_USER_STARTED.equals(action) || KeyChain.ACTION_TRUST_STORE_CHANGED.equals(action)) { - int userId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, UserHandle.USER_ALL); - new MonitoringCertNotificationTask().execute(userId); + if (!StorageManager.inCryptKeeperBounce()) { + new MonitoringCertNotificationTask().execute( + intent.getIntExtra(Intent.EXTRA_USER_HANDLE, UserHandle.USER_ALL)); + } } if (Intent.ACTION_USER_ADDED.equals(action)) { sendUserAddedOrRemovedCommand(DeviceAdminReceiver.ACTION_USER_ADDED, userHandle); |