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

Commit c0bfbd34 authored by linuxemacs's avatar linuxemacs Committed by Jean-Baptiste Queru
Browse files

Fix android application platform will crash problem.

If slide on password lock panel and repeatedly swith this
panel to lock panel with BACK button and POWER/HOME button,
the android application platform will crash.
parent 0648422f
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -582,6 +582,8 @@ public class LockPatternView extends View {
                    mInProgressY = y;

                    if (mPatternInProgress) {
                        if (mPattern.isEmpty()) return false;

                        final ArrayList<Cell> pattern = mPattern;
                        final float radius = mSquareWidth * mDiameterFactor * 0.5f;