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

Commit c26ab751 authored by Lucas Dupin's avatar Lucas Dupin
Browse files

Ignore motion event of invalid pointer

Test: swipe up with multiple fingers
Fixes: 132635371
Change-Id: I27fbb193affb1f073c3feb294ba51ad6e74ac4f1
parent 99a61d3b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -180,7 +180,7 @@ public class KeyguardSecurityContainer extends FrameLayout implements KeyguardSe
                }
                int index = event.findPointerIndex(mActivePointerId);
                int touchSlop = mViewConfiguration.getScaledTouchSlop();
                if (mCurrentSecurityView != null
                if (mCurrentSecurityView != null && index != -1
                        && mStartTouchY - event.getY(index) > touchSlop) {
                    mIsDragging = true;
                    return true;