summaryrefslogtreecommitdiff
path: root/packages/Keyguard
diff options
context:
space:
mode:
authorZachary Iqbal <zacharyi@google.com>2017-01-12 14:41:13 -0800
committerZachary Iqbal <zacharyi@google.com>2017-01-20 15:55:07 -0800
commit327323d2b337077433fe02438a79cc98e91799e3 (patch)
tree2ca5fb7eeff04f2cd78a5b4c0c34ac0b1e583c2e /packages/Keyguard
parent52461d46a47054130028341a4f5070d932f840ca (diff)
Added an onDeviceUnlockLockout callback to TrustAgentService.
Test: Manually tested onDeviceUnlockLockout being called with an actual TestAgentService implementation. Notes: - Active Trust Agents are no longer killed/unbinded from when a temporary device lockout occurs. Instead, the onDeviceUnlockLockout callback of the agent is called. Change-Id: Ifa0984d1d7e5153568334d736e9ebd5a00ef1297 Bug: 34198873
Diffstat (limited to 'packages/Keyguard')
-rw-r--r--packages/Keyguard/src/com/android/keyguard/KeyguardSecurityContainer.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/Keyguard/src/com/android/keyguard/KeyguardSecurityContainer.java b/packages/Keyguard/src/com/android/keyguard/KeyguardSecurityContainer.java
index 91c943de756c..8cdb906a0e56 100644
--- a/packages/Keyguard/src/com/android/keyguard/KeyguardSecurityContainer.java
+++ b/packages/Keyguard/src/com/android/keyguard/KeyguardSecurityContainer.java
@@ -290,6 +290,7 @@ public class KeyguardSecurityContainer extends FrameLayout implements KeyguardSe
monitor.reportFailedStrongAuthUnlockAttempt(userId);
mLockPatternUtils.reportFailedPasswordAttempt(userId);
if (timeoutMs > 0) {
+ mLockPatternUtils.reportPasswordLockout(timeoutMs, userId);
showTimeoutDialog(userId, timeoutMs);
}
}