Retry SECURITY_LOGS_AVAILABLE if DO doesn't request the logs

Test: manually, with TestDPC.
Bug: 34186771
Change-Id: I99ec406b05f7b072c2c729f6336d1a5cf0f7c3d4
This commit is contained in:
Pavel Grafov
2017-03-07 12:48:00 +00:00
parent c068aa2209
commit 9cdba2722f
2 changed files with 24 additions and 19 deletions

View File

@@ -779,6 +779,8 @@ public class DeviceAdminReceiver extends BroadcastReceiver {
* become affiliated again (even if security logging is enabled).
* See {@link DevicePolicyManager#setAffiliationIds}
*
* <p>This callback will be re-triggered if the logs are not retrieved.
*
* <p>This callback is only applicable to device owners.
*
* @param context The running context as per {@link #onReceive}.