Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unbuffer
MotionEvent
objects for touch events to avoid ignoring points
and reduce latency It fixes the problem that, when the touchscreen/stylus sampling rate is higher than the screen refresh rate, multiple points from the touchscreen/stylus are batched into a single MotionEvent object with extra latency, and all points of this object except the most current one are ignored. For reference: - https://developer.android.com/develop/ui/views/touch-and-input/stylus-input/advanced-stylus-features#rendering - https://developer.android.com/reference/android/view/MotionEvent#batching
- Loading branch information