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

Commit 15ed1ba7 authored by Adam Cohen's avatar Adam Cohen Committed by Android Git Automerger
Browse files

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

* commit '11dea4d7':
  Fix issue where pin field doesn't have focus (issue 7348937)
parents 807e4375 11dea4d7
Loading
Loading
Loading
Loading
+10 −1
Original line number Original line Diff line number Diff line
@@ -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("");
@@ -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