diff options
| author | 2023-04-06 18:24:57 +0000 | |
|---|---|---|
| committer | 2023-04-20 18:13:33 +0000 | |
| commit | c2beb67c03a8a0a69ef92a741ff43ea4b91d0038 (patch) | |
| tree | 0c626233e594e8588f003cc26d99e7fa6b66b563 /cmds/bootanimation/BootAnimationUtil.cpp | |
| parent | 708988976d1def966de08d8d25d64833924e5f08 (diff) | |
Run update note task shortcut in a service if user is different
Shortcut Manager injects the main user, and do not allow us to set what user should have their shortcuts modified. To workaround that until we add support to custom users, we are launching a service and triggering the update task from that user's process.
Running a different service may delay the update by a fraction of a second, in case the user jump into the home screen just after.
Test: atest NoteTaskControllerTest
Fixes: b/276889922
Change-Id: If503df7af038c51829e9267af7a9d0aafd7da986
Diffstat (limited to 'cmds/bootanimation/BootAnimationUtil.cpp')
0 files changed, 0 insertions, 0 deletions