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

Commit f1ff317c authored by Lucas Dupin's avatar Lucas Dupin Committed by android-build-merger
Browse files

Merge "Ignore motion event of invalid pointer" into qt-dev

am: 9b887ef5

Change-Id: Ia07423b96ef55febb894d56b07336ede92914c10
parents 97fb2a69 9b887ef5
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;