diff options
author | Fyodor Kupolov <fkupolov@google.com> | 2017-07-14 11:39:52 -0700 |
---|---|---|
committer | Fyodor Kupolov <fkupolov@google.com> | 2017-07-24 18:44:33 +0000 |
commit | 37b966d5bdde09fd9dd680529c35cee0faeaca5d (patch) | |
tree | 1273a367badd49e4d6f6db6ecbe4067c1bf85d9d /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | bfa0ed51105dc3b1a65e25201ffba90a3aabf9dc (diff) |
Handle onUnlockUser on fg thread
AppWidgetService.onUserUnlocked can block ActivityManager thread
for 500+ ms. The code is guarded by mLock, so it's safe to simply
offload it to the worker thread without additional synchronization.
Test: Setup widgets/rebooted the device and unlocked
Test: Create/switch to guest user + setup widgets
Bug: 63389529
Change-Id: Ib3bc76f79bdbc707c0ac270d7fc35c8b27af9af0
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions