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

Commit d6200bdd authored by Veeti Paananen's avatar Veeti Paananen Committed by Gerrit Code Review
Browse files

Disable PIN entry after successful quick unlock

Small polish: I still often press the enter button out of muscle memory
when entering my PIN code, which leads to an "invalid PIN" message being
shown for a tiny moment as the screen unlocks. Disable the entry view
after a quick unlock to fix this.

Change-Id: I1f24a41a20d36e4b6864fffbae8ad0b80ce52393
parent b197ea19
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -236,6 +236,7 @@ public class KeyguardPINView extends KeyguardPinBasedInputView {
        if (password != null) {
            if (password.length() > MINIMUM_PASSWORD_LENGTH_BEFORE_REPORT
                    && mLockPatternUtils.checkPassword(password)) {
                mPasswordEntry.setEnabled(false);
                mCallback.reportUnlockAttempt(true);
                mCallback.dismiss(true);
                resetPasswordText(true);