Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6d016754 authored by Adam Cohen's avatar Adam Cohen Committed by Android Git Automerger
Browse files

am 15ed1ba7: am 11dea4d7: Merge "Fix issue where pin field doesn\'t have focus...

am 15ed1ba7: am 11dea4d7: Merge "Fix issue where pin field doesn\'t have focus (issue 7348937)" into jb-mr1-dev

* commit '15ed1ba7':
  Fix issue where pin field doesn't have focus (issue 7348937)
parents a97a9bef 15ed1ba7
Loading
Loading
Loading
Loading
+10 −1
Original line number Diff line number Diff line
@@ -86,6 +86,13 @@ public class KeyguardPasswordView extends LinearLayout
        mLockPatternUtils = utils;
    }

    @Override
    public void onWindowFocusChanged(boolean hasWindowFocus) {
        if (hasWindowFocus) {
            reset();
        }
    }

    public void reset() {
        // start fresh
        mPasswordEntry.setText("");
@@ -191,8 +198,10 @@ public class KeyguardPasswordView extends LinearLayout
            }

            public void afterTextChanged(Editable s) {
                if (mCallback != null) {
                    mCallback.userActivity(0);
                }
            }
        });

        // If there's more than one IME, enable the IME switcher button