summaryrefslogtreecommitdiffstats
path: root/packages/Keyguard/src/com/android/keyguard/KeyguardAbsKeyInputView.java
diff options
context:
space:
mode:
authorJim Miller <jaggies@google.com>2014-05-12 20:05:24 -0700
committerJim Miller <jaggies@google.com>2014-05-12 20:05:24 -0700
commitaef7cc77a86864f0ef8d2f04c6737818f0a96c53 (patch)
treeb5b8ed1213b3d1fcc9ddff87c0dbbe8ef412e0a5 /packages/Keyguard/src/com/android/keyguard/KeyguardAbsKeyInputView.java
parentbea8b51e18c7a0eea5078be905ed8adc09d99076 (diff)
downloadframeworks_base-aef7cc77a86864f0ef8d2f04c6737818f0a96c53.zip
frameworks_base-aef7cc77a86864f0ef8d2f04c6737818f0a96c53.tar.gz
frameworks_base-aef7cc77a86864f0ef8d2f04c6737818f0a96c53.tar.bz2
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
Diffstat (limited to 'packages/Keyguard/src/com/android/keyguard/KeyguardAbsKeyInputView.java')
-rw-r--r--packages/Keyguard/src/com/android/keyguard/KeyguardAbsKeyInputView.java7
1 files changed, 0 insertions, 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("");