diff --git a/core/java/android/view/GestureDetector.java b/core/java/android/view/GestureDetector.java index f9bb880b1881e..57ba7e9e816f4 100644 --- a/core/java/android/view/GestureDetector.java +++ b/core/java/android/view/GestureDetector.java @@ -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) {