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

Revert submission 19755403-242021191_ontouch

Reason for revert: b/246911932
Reverted Changes:
I518867b05:Intercept abnormal MotionEvent in GestureDetector#...
I22a5d1c16:Intercept abnormal MotionEvent in GestureDetector#...

Change-Id: I48532b2cfe54e72aebda447e797c9e93791b5d93
This commit is contained in:
Alan Viverette
2022-09-15 13:46:31 +00:00
parent 9f45a12cc1
commit 456612dc6a

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) {