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

Commit 30181fb1 authored by Adrian Roos's avatar Adrian Roos Committed by android-build-merger
Browse files

Merge \"Allow trust agents to run during provisioning\" into nyc-dev

am: 1dd403b6

Change-Id: I3972f2f923b78bf57f8160b3a14a81df3972eea0
parents 3e8b479e 1dd403b6
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -926,6 +926,11 @@ public class KeyguardViewMediator extends SystemUI {
            // In this case, send out ACTION_USER_PRESENT here instead of in
            // handleKeyguardDone()
            sendUserPresentBroadcast();
        } else if (mSystemReady && shouldWaitForProvisioning()) {
            // Skipping the lockscreen because we're not yet provisioned, but we still need to
            // notify the StrongAuthTracker that it's now safe to run trust agents, in case the
            // user sets a credential later.
            getLockPatternUtils().userPresent(KeyguardUpdateMonitor.getCurrentUser());
        }
    }