summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src
diff options
context:
space:
mode:
authorBenjamin Franz <bfranz@google.com>2017-08-01 14:18:35 +0100
committerBenjamin Franz <bfranz@google.com>2017-09-01 12:02:29 +0100
commit714f77b94692ecebb5fc40573a3eeb18b3df449e (patch)
tree7999ffd6bc8868893cf3c54b37ebcde8584795be /tests/DynamicCodeLoggerIntegrationTests/src
parent409c1b955b45b61569890030033cf1c9e2304807 (diff)
Send admin enabled broadcast in foreground queue
Currently admin enabled broadcast is sent as a background broadcast upon ACTION_USER_STARTED. This can lead to delays on managed secondary users. During that period the admin has no chance to apply any policies, effectively leaving the user unmanaged. Sending it as a foreground broadcast should speed up that process. Using a foreground broadcast on ACTION_USER_STARTED can cause a race condition where the user is not unlocked yet and therefore the broadcast is omitted (unless the receiver is direct boot aware). Sending the broadcast upon ACTION_USER_UNLOCKED fixes that issue. Bug: 64382185 Test: manual Change-Id: I3a89ba2e64cd6013723699cc1211b0144db254a6
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src')
0 files changed, 0 insertions, 0 deletions