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

Commit 2e648e1e authored by Jim Miller's avatar Jim Miller
Browse files

Don't clear the pattern when window focus changes.

This is no longer required since we now clear the pattern field
when showing the bouncer.

Fixes bug 14622312

Change-Id: I476bbc95449cd31e56aeac579b3c94f859cd020b
parent aef7cc77
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -231,15 +231,6 @@ public class KeyguardPatternView extends LinearLayout implements KeyguardSecurit
        mLockPatternView.setOnPatternListener(null);
    }

    @Override
    public void onWindowFocusChanged(boolean hasWindowFocus) {
        super.onWindowFocusChanged(hasWindowFocus);
        if (hasWindowFocus) {
            // when timeout dialog closes we want to update our state
            reset();
        }
    }

    private class UnlockPatternListener implements LockPatternView.OnPatternListener {

        public void onPatternStart() {