Merge "Allow trust agents to run during provisioning" into nyc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
1dd403b61a
@@ -923,6 +923,11 @@ public class KeyguardViewMediator extends SystemUI {
|
|||||||
// In this case, send out ACTION_USER_PRESENT here instead of in
|
// In this case, send out ACTION_USER_PRESENT here instead of in
|
||||||
// handleKeyguardDone()
|
// handleKeyguardDone()
|
||||||
sendUserPresentBroadcast();
|
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());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user