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

Commit 2491ab7c authored by Roman Birg's avatar Roman Birg
Browse files

CryptKeeper: pattern unlock displays incorrect pw when correct



fakeUnlockAttempt() gets called when the user inputs any pattern length
< 4 which queues up the 'incorrect error' message. The message needs to
be cleared before trying to actually check the password so it never goes
through in case the password was correct.

Change-Id: If78db332d3d696ba443d0be911fb5db504cb14cd
Signed-off-by: default avatarRoman Birg <roman@cyngn.com>
parent bc864450
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -180,6 +180,7 @@ public class CryptKeeper extends Activity implements TextView.OnEditorActionList
        @Override
        protected void onPreExecute() {
            super.onPreExecute();
            mLockPatternView.removeCallbacks(mFakeUnlockAttemptRunnable);
            beginAttempt();
        }