Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting input event consistency errors #24

Open
uyilmaz opened this issue Sep 11, 2017 · 3 comments
Open

Getting input event consistency errors #24

uyilmaz opened this issue Sep 11, 2017 · 3 comments

Comments

@uyilmaz
Copy link

uyilmaz commented Sep 11, 2017

On api level 19 I'm constantly getting

InputEventConsistencyVerifier: TouchEvent: ACTION_DOWN but pointers are already down.  Probably missing ACTION_UP from previous gesture.
  in android.view.GestureDetector@ad008e20

this causes some onDawn events not to register, so screen does not respond.

@eschao
Copy link
Owner

eschao commented Sep 13, 2017

on emulator? I will try

@uyilmaz
Copy link
Author

uyilmaz commented Sep 13, 2017

I changed line 191 from SampleActivity:

if (event.getAction() == MotionEvent.ACTION_UP) { mPageFlipView.onFingerUp(event.getX(), event.getY()); return true; }

to:

if (event.getAction() == MotionEvent.ACTION_UP) { mPageFlipView.onFingerUp(event.getX(), event.getY()); return mGestureDetector.onTouchEvent(event); }

Seems to have solved the problem.

@eschao
Copy link
Owner

eschao commented Nov 13, 2017

Good catch, I will take a look, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants