From aef7cc77a86864f0ef8d2f04c6737818f0a96c53 Mon Sep 17 00:00:00 2001 From: Jim Miller Date: Mon, 12 May 2014 20:05:24 -0700 Subject: Don't clear the password field when window focus changes. This is no longer required since we now clear the password field when showing the bouncer. The code used to clear it because keyguard was relatively static and we didn't want to keep the password around through an interruption like a phone call or launching the camera. Fixes bug 14622312 Change-Id: I4808d51198ba0e6b1e03e26fee22bb08c752e613 --- .../Keyguard/src/com/android/keyguard/KeyguardAbsKeyInputView.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/packages/Keyguard/src/com/android/keyguard/KeyguardAbsKeyInputView.java b/packages/Keyguard/src/com/android/keyguard/KeyguardAbsKeyInputView.java index 4b386b6..2d17b7b 100644 --- a/packages/Keyguard/src/com/android/keyguard/KeyguardAbsKeyInputView.java +++ b/packages/Keyguard/src/com/android/keyguard/KeyguardAbsKeyInputView.java @@ -68,13 +68,6 @@ public abstract class KeyguardAbsKeyInputView extends LinearLayout mEnableHaptics = mLockPatternUtils.isTactileFeedbackEnabled(); } - @Override - public void onWindowFocusChanged(boolean hasWindowFocus) { - if (hasWindowFocus) { - reset(); - } - } - public void reset() { // start fresh mPasswordEntry.setText(""); -- cgit v1.1