Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 7db6873b authored by Matt Pietal's avatar Matt Pietal
Browse files

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
parent 5f067b4c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment