summaryrefslogtreecommitdiff
path: root/packages/SystemUI/src/com/android/keyguard/KeyguardAbsKeyInputView.java
diff options
context:
space:
mode:
authorAnilKumar Chimata <anilc@codeaurora.org>2017-05-18 12:35:20 -0700
committerAnil Kumar Chimata <anilc@codeaurora.org>2018-05-29 09:55:06 +0000
commit7fd5bb616ee16175ceb1dbfeb84f1b6cf53e8a19 (patch)
treeb5b3298bd2b18ed61145b2a146656a1807d1d86c /packages/SystemUI/src/com/android/keyguard/KeyguardAbsKeyInputView.java
parentd1c5f9c8fef32e6e7a7d452705d78df58bdaf914 (diff)
frameworks: base: Port password retention feature
Port password retention feature for HW FDE. This patch also include these changes: - Fix clearing of retained password - keyguard: Fix password doesnot sanitize after verification - LockSettings: fix the get password issue during boot up - frameworks/base: Fix pattern update issue CRs-Fixed: 2210986 Change-Id: I2def56b14c10229b72feccd1c97b281cad65f282
Diffstat (limited to 'packages/SystemUI/src/com/android/keyguard/KeyguardAbsKeyInputView.java')
-rw-r--r--packages/SystemUI/src/com/android/keyguard/KeyguardAbsKeyInputView.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/keyguard/KeyguardAbsKeyInputView.java b/packages/SystemUI/src/com/android/keyguard/KeyguardAbsKeyInputView.java
index 00cd5a7b1689..150ad1c615fb 100644
--- a/packages/SystemUI/src/com/android/keyguard/KeyguardAbsKeyInputView.java
+++ b/packages/SystemUI/src/com/android/keyguard/KeyguardAbsKeyInputView.java
@@ -187,6 +187,7 @@ public abstract class KeyguardAbsKeyInputView extends LinearLayout
boolean isValidPassword) {
boolean dismissKeyguard = KeyguardUpdateMonitor.getCurrentUser() == userId;
if (matched) {
+ mLockPatternUtils.sanitizePassword();
mCallback.reportUnlockAttempt(userId, true, 0);
if (dismissKeyguard) {
mDismissing = true;