summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimation.cpp
diff options
context:
space:
mode:
author Richard Uhler <ruhler@google.com> 2025-02-05 08:58:53 -0800
committer Richard Uhler <ruhler@google.com> 2025-02-11 09:52:31 -0800
commit05dccb72c6e0766f0aa8dad1b027829a868ac4a3 (patch)
tree264680cb8519055bb5d0d4605684b90906e0dd4f /cmds/bootanimation/BootAnimation.cpp
parent51ff3146b7ad5b3dc22eee8cc9bed959b3a8df80 (diff)
Initialize DataManager on boot complete.
Perfetto traces were showing PeopleService.onUnlockUser was often blocked on monitor contention for the ShortcutService shortcutHandleUnlockUser thread to finish. Move DataManager initialization from onUnlockUser to PHASE_BOOT_COMPLETE so it can add its ShortcutServiceCallback before shortcutHandleUnlockUser starts. That takes the relatively slow shortcutHandleUnlockUser off the critical path for boot. Bug: 389194339 Test: Boot device, confirm monitor contention is gone via Perfetto trace. Test: atest com.android.server.people.PeopleServiceTest Flag: com.android.server.flags.early_data_manager_init Change-Id: I89d1259ad14d33b53561fb97082b054c11a0d659
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
0 files changed, 0 insertions, 0 deletions