-
Notifications
You must be signed in to change notification settings - Fork 6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Android Platform Views support Verified Input Events
Android Platform Views process MotionEvents in a complicated way: 1. MotionEvent is processed by the `AndroidTouchProcessor` and transmitted to the engine for delivery to the framework. 2. Framework processes the MotionEvent as a PointerEvent. 3. Eventually the PointerEvent is transmitted back to Android and a new MotionEvent is synthesized. 4. The MotionEvent is delivered to the platform view. After step (3) the MotionEvent will fail Verification (`android.hardware.input.InputManager.verifyInputEvent`). The fix requires that in step (3) we use the original motion event delivered in step (1) instead of synthesizing a new instance.
- Loading branch information
1 parent
e70d1ad
commit babac33
Showing
3 changed files
with
6 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters