commit | 3bca09f3086e82e12f36b1c045054e2dcd1c7b43 | [log] [tgz] |
---|---|---|
author | Pavel Grafov <pgrafov@google.com> | Wed Jun 06 16:11:09 2018 +0100 |
committer | Pavel Grafov <pgrafov@google.com> | Thu Jun 07 11:16:46 2018 +0100 |
tree | 4998a48ad242d4fc3a9cb6039c52eb672a61e241 | |
parent | 47d9d9801b7fb0ad0efec82d585782ba9a8fd545 [diff] |
Start SecurityLogMonitor after broadcasts are allowed. Otherwise if boot takes long enough, DO broadcast will be sent while ActivityManagerSerivce is not ready, causing IllegalStateException. Change-Id: I6b55ed45ed7b1f3ed9ad6ec20695907b4fa6f3b1 Fixes: 109746888 Test: atest CtsDevicePolicyManagerTestCases:com.android.cts.devicepolicy.DeviceOwnerTest#testSecurityLoggingWithSingleUser Test: provisioned TestDPC as DO in SuW, enabled logging.