summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Matt Pietal <mpietal@google.com> 2024-09-13 14:55:47 +0000
committer Matt Pietal <mpietal@google.com> 2024-09-13 18:19:31 +0000
commit7db6873b50ba5903251f509273f2b6d5edeae54d (patch)
tree56e476790a8f46a9ab2fc0337f60ba825a1deacd /libs/input/PointerController.cpp
parent5f067b4cd201148d195726f19c9544e760af9427 (diff)
Fix user switching race condition on boot
With HSUM, a switch is done immediately on boot to the main user. This can occur as SystemUI is being initialized, leading it to miss the "onUserSwitching" event, which performs critical setup for the upcoming user. If a switch is in progress during boot, manually send that event. Also, fix a crash in the contentprovider during this user switch. Fixes: 365707550 Test: atest UserTrackerImplTest Test: manual - setup multiple users, one with security NONE, reboot Flag: EXEMPT bugfix Change-Id: Idf1403f7115c07c20c0514beb89af554aeb7bbc8
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions