Commit 5d4c36d6 authored by Keun-young Park's avatar Keun-young Park
Browse files

Unlock user 0 before unlocking other user

- For normal flow, starts/unlocks user0 in main boot up thread.
  Seding it to background thread brought lots of lock contention due
  to locks in AMS / PMS. Improving locks there may allow running in background
  in future.
- For foreground user, only start it and postpone unlock until boot complete.
  TODO: Unlock foreground user as well before boot complete.
- The issue of unlocking twice should be fixed separately.

Bug: 124797617, 124460424
Test: Boot the system and check if all users are unlocked.

Change-Id: I83b94bd3ffcb928462d607563f7b5f09d8bfe378
parent 3707d308
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment