diff options
| author | 2023-05-11 15:47:43 +0000 | |
|---|---|---|
| committer | 2023-05-16 15:07:02 +0000 | |
| commit | 791980f27828306359bf6eed66dc6b5aa1ec0c4e (patch) | |
| tree | a230f5b8753914bb8f4505549b2754a635bd14c4 /cmds/bootanimation/BootAnimationUtil.cpp | |
| parent | 1c3a7005fa867184dc3169591641e877e00f3e5c (diff) | |
Fix crash when a shortcut update for notes happens before user unlocked
* Ensure NoteTaskController is updated and valid state when the system
is initialized (after direct boot user is unlocked).
* NoteTaskController now double check if the user is unlocked before
triggering a shortcut update (onRoleHolderChanged).
* If by any reason an event is lost, we check again in the next boot.
Test: atest SystemUITests:NoteTaskControllerTest
Test: atest SystemUITests:NoteTaskInitializerTest
Flag: not needed
Fixes: b/275852881
Change-Id: Ib3c9d66abf9074c50cdc79ef93fa8d162e9608cb
Diffstat (limited to 'cmds/bootanimation/BootAnimationUtil.cpp')
0 files changed, 0 insertions, 0 deletions