We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ce2ce6 commit 783dcafCopy full SHA for 783dcaf
packages/gesturehandler/platforms/android/java/com/swmansion/gesturehandler/GestureHandler.java
@@ -329,11 +329,7 @@ public final void handle(MotionEvent origEvent) {
329
int action = event.getActionMasked();
330
if(action == MotionEvent.ACTION_DOWN || action == MotionEvent.ACTION_POINTER_DOWN) {
331
if (mListener != null && !mListener.shouldStartGesture((T) this, event)) {
332
- if (mState == STATE_BEGAN) {
333
- fail();
334
- } else {
335
336
- }
+ fail();
337
if (event != origEvent) {
338
event.recycle();
339
}
0 commit comments