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

Commit c238af51 authored by Adam Powell's avatar Adam Powell
Browse files

Keyguard sliding challenge - fix overeager touch interception

Bug 7458287

Change-Id: I31f196539eecab1df5835e8ac1a76d9732a332fe
parent 09452829
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -584,8 +584,8 @@ public class SlidingChallengeLayout extends ViewGroup implements ChallengeLayout
                                && ((isInDragHandle(x, y) && MathUtils.sq(x - mGestureStartX)
                                        + MathUtils.sq(y - mGestureStartY) > mTouchSlopSquare)
                                || crossedDragHandle(x, y, mGestureStartY)
                               || (isInChallengeView(x, y) && (mScrollState == SCROLL_STATE_SETTLING
                                       || !mChallengeShowing)))) {
                                || (isInChallengeView(x, y) &&
                                       mScrollState == SCROLL_STATE_SETTLING))) {
                        mActivePointerId = ev.getPointerId(i);
                        mGestureStartX = x;
                        mGestureStartY = y;