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

Skip to content
Commit af83f177 authored by Eric Biggers's avatar Eric Biggers
Browse files

Load reboot escrow data at PHASE_BOOT_COMPLETED

Users can't be unlocked before PHASE_BOOT_COMPLETED, as is documented
and enforced in UserController.java.  Therefore, fix
LockSettingsService#loadEscrowData() to run at PHASE_BOOT_COMPLETED
instead of at PHASE_ACTIVITY_MANAGER_READY.  This prevents
LockSettingsService from needing to use Gatekeeper earlier than is
normally the case, which made it more fragile to delays in Gatekeeper
coming up.  It might prevent other problems too.

Bug: 283055837
Test: atest ResumeOnRebootHostTest
Change-Id: I6707b6f33b37f940aecbbd9ec82455fa2a205e99
Merged-In: I6707b6f33b37f940aecbbd9ec82455fa2a205e99
(cherry picked from commit 042cd5d9)
parent 1c95758c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment