Merge "Ignore motion event of invalid pointer" into qt-dev
am: 9b887ef5e5
Change-Id: Ia07423b96ef55febb894d56b07336ede92914c10
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user