Merge "Revert "Intercept abnormal MotionEvent in GestureDetector#onTouc...""
This commit is contained in:
committed by
Android (Google) Code Review
commit
9bb4f2962b
@@ -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