File tree Expand file tree Collapse file tree 2 files changed +0
-4
lines changed
policy/src/com/android/internal/policy/impl/keyguard Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Original file line number Diff line number Diff line change 3232
3333import android .os .CountDownTimer ;
3434import android .os .SystemClock ;
35- import android .security .KeyStore ;
3635import android .text .Editable ;
3736import android .text .InputType ;
3837import 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
Original file line number Diff line number Diff line change 2626import android .os .Bundle ;
2727import android .os .CountDownTimer ;
2828import android .os .SystemClock ;
29- import android .security .KeyStore ;
3029import android .util .AttributeSet ;
3130import android .util .Log ;
3231import 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 {
You can’t perform that action at this time.
0 commit comments