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

Commit c34fed43 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

am: f1ff317c

Change-Id: Iee46867b0814d05e6ea6066c8dc1f93c159f820d
parents 959d9c4b f1ff317c
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;