-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Reland "ChromeOS/Android trackpad gestures" #34060
Reland "ChromeOS/Android trackpad gestures" #34060
Conversation
cc @dkwingsmt |
} else if (pointerChange == PointerChange.UP || pointerChange == PointerChange.CANCEL) { | ||
return PointerChange.PAN_ZOOM_END; | ||
} | ||
throw new AssertionError("Unexpected pointer change"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should the errors be caught anywhere, or they will never occur given how Flutter's code is written?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This error should never be thrown. I saw some other uses of uncaught AssertionError
for similar cases.
* Android trackpad gestures * Try to fix lint problem
Original PR was #31595
Reverted in #34046
Start sending PointerPanZoom events from ChromeOS/Android when trackpad is used
Fixes flutter/flutter#23604
Pre-launch Checklist
writing and running engine tests.
///
).