Loading policy/src/com/android/internal/policy/impl/keyguard/KeyguardPasswordView.java +10 −1 Original line number Original line Diff line number Diff line Loading @@ -86,6 +86,13 @@ public class KeyguardPasswordView extends LinearLayout mLockPatternUtils = utils; mLockPatternUtils = utils; } } @Override public void onWindowFocusChanged(boolean hasWindowFocus) { if (hasWindowFocus) { reset(); } } public void reset() { public void reset() { // start fresh // start fresh mPasswordEntry.setText(""); mPasswordEntry.setText(""); Loading Loading @@ -191,8 +198,10 @@ public class KeyguardPasswordView extends LinearLayout } } public void afterTextChanged(Editable s) { public void afterTextChanged(Editable s) { if (mCallback != null) { mCallback.userActivity(0); mCallback.userActivity(0); } } } }); }); // If there's more than one IME, enable the IME switcher button // If there's more than one IME, enable the IME switcher button Loading Loading
policy/src/com/android/internal/policy/impl/keyguard/KeyguardPasswordView.java +10 −1 Original line number Original line Diff line number Diff line Loading @@ -86,6 +86,13 @@ public class KeyguardPasswordView extends LinearLayout mLockPatternUtils = utils; mLockPatternUtils = utils; } } @Override public void onWindowFocusChanged(boolean hasWindowFocus) { if (hasWindowFocus) { reset(); } } public void reset() { public void reset() { // start fresh // start fresh mPasswordEntry.setText(""); mPasswordEntry.setText(""); Loading Loading @@ -191,8 +198,10 @@ public class KeyguardPasswordView extends LinearLayout } } public void afterTextChanged(Editable s) { public void afterTextChanged(Editable s) { if (mCallback != null) { mCallback.userActivity(0); mCallback.userActivity(0); } } } }); }); // If there's more than one IME, enable the IME switcher button // If there's more than one IME, enable the IME switcher button Loading