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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user