Merge "Revert "Intercept abnormal MotionEvent in GestureDetector#onTouc...""

This commit is contained in:
Alan Viverette
2022-09-16 17:57:06 +00:00
committed by Android (Google) Code Review

View File

@@ -653,7 +653,7 @@ public class GestureDetector {
break;
case MotionEvent.ACTION_MOVE:
if ((mCurrentDownEvent == null) || mInLongPress || mInContextClick) {
if (mInLongPress || mInContextClick) {
break;
}
@@ -736,9 +736,6 @@ public class GestureDetector {
break;
case MotionEvent.ACTION_UP:
if (mCurrentDownEvent == null) {
break;
}
mStillDown = false;
MotionEvent currentUpEvent = MotionEvent.obtain(ev);
if (mIsDoubleTapping) {