Skip to content
Commit ac7c8ae4 authored by Pavel Grafov's avatar Pavel Grafov
Browse files

Go via FgThread when starting the profiles during system boot.

Curently there is a race condition between unlocking the parent
user (spread across FgThread and mHandlerThread) and booting the
profile (happens on mHandlerThread). If the latter is too slow
and parent is still locked when the profile has reached
STATE_RUNNING_LOCKED, it won't proceed to unlock, which causes
the issue.

More complete RCA is on the first bug.

Bug:112830273
Bug:113128300
Test: atest UserControllerTest
Test: manual boot up with profile without passwords
Merged-In: I44dcbb431f97bd40ec00f417cd4b7e935a6b06bc
Change-Id: I44dcbb431f97bd40ec00f417cd4b7e935a6b06bc
parent 9a32a1dc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment