diff options
| author | 2016-06-21 18:04:05 +0000 | |
|---|---|---|
| committer | 2016-06-21 18:04:07 +0000 | |
| commit | 1dd403b61a0e119e57f6f1d4db378100379ff47c (patch) | |
| tree | 7630ffbb40fa759c68edf4a20c6be4ec1390b39e | |
| parent | 284a71ecd63cbeefcfe6736961b51eb9e6f62bb5 (diff) | |
| parent | fb95a81a8b1ffb3f75e35e14f494361882842731 (diff) | |
Merge "Allow trust agents to run during provisioning" into nyc-dev
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java b/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java index cad7f647e031..6759e6bcf8cd 100644 --- a/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java +++ b/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java @@ -923,6 +923,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()); } } |