Skip to content

Commit c6f8a99

Browse files
krutonAndroid (Google) Code Review
authored andcommitted
Merge "LockScreen: don't update KeyStore password on unlock" into jb-mr1-dev
2 parents 2ce1ae8 + abb53b7 commit c6f8a99

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

policy/src/com/android/internal/policy/impl/keyguard/KeyguardPasswordView.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232

3333
import android.os.CountDownTimer;
3434
import android.os.SystemClock;
35-
import android.security.KeyStore;
3635
import android.text.Editable;
3736
import android.text.InputType;
3837
import android.text.TextWatcher;
@@ -270,7 +269,6 @@ private void verifyPasswordAndUnlock() {
270269
String entry = mPasswordEntry.getText().toString();
271270
if (mLockPatternUtils.checkPassword(entry)) {
272271
mCallback.reportSuccessfulUnlockAttempt();
273-
KeyStore.getInstance().password(entry);
274272
mCallback.dismiss(true);
275273
} else if (entry.length() > MINIMUM_PASSWORD_LENGTH_BEFORE_REPORT ) {
276274
// to avoid accidental lockout, only count attempts that are long enough to be a

policy/src/com/android/internal/policy/impl/keyguard/KeyguardPatternView.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
import android.os.Bundle;
2727
import android.os.CountDownTimer;
2828
import android.os.SystemClock;
29-
import android.security.KeyStore;
3029
import android.util.AttributeSet;
3130
import android.util.Log;
3231
import android.view.MotionEvent;
@@ -239,7 +238,6 @@ public void onPatternDetected(List<LockPatternView.Cell> pattern) {
239238
if (mLockPatternUtils.checkPattern(pattern)) {
240239
mCallback.reportSuccessfulUnlockAttempt();
241240
mLockPatternView.setDisplayMode(LockPatternView.DisplayMode.Correct);
242-
KeyStore.getInstance().password(LockPatternUtils.patternToString(pattern));
243241
mTotalFailedPatternAttempts = 0;
244242
mCallback.dismiss(true);
245243
} else {

0 commit comments

Comments
 (0)