diff options
| author | 2023-03-23 15:54:25 -0400 | |
|---|---|---|
| committer | 2023-03-24 16:56:01 -0400 | |
| commit | 2e76230ede8e2b3bffe1731f3882fac7703ee95e (patch) | |
| tree | 0559195c463e43fea1a03f4ffcbaf72edbb6b21a /libs/hwui/DeferredLayerUpdater.cpp | |
| parent | c59bcce7ec045e629dbbc2c141d6b3bb48abbb42 (diff) | |
Gate binding with `UserManager.isUserUnlocked`
We cannot bind to not direct boot aware apps before that. So delay the
binding until we receive `ACTION_USER_UNLOCKED` (or immediately if we
are unlocked).
Also, delay it to onBootComplete
Fixes: 274467616
Test: manual `adb shell dumpsys activity services` after restart
Test: atest ControlsStartableTest
Change-Id: Ic2c7d1584300fa68c7d53dcea52650cfd83b677b
Diffstat (limited to 'libs/hwui/DeferredLayerUpdater.cpp')
0 files changed, 0 insertions, 0 deletions