diff options
| author | 2024-07-22 08:02:07 +0000 | |
|---|---|---|
| committer | 2024-07-29 17:37:08 +0000 | |
| commit | 71e567c1ec7ea0937a9bdbffe374f990fc3c54f7 (patch) | |
| tree | 0e77580874e02d9ee0d0f15898179b052b682f5e /libs/androidfw/AttributeResolution.cpp | |
| parent | 15ac2ef9f8b12a008874119bfa53963aee4a107e (diff) | |
Validate Event Assigner for input devices other than touchscreen
Extended the logic for processing MOVE events that happen after DOWN events in the same frame to all types of Motion events and other input devices.
If a sequence like DOWN -> MOVE happens in a single frame we want to provide the eventId of the DOWN event.
Before this CL, this was implemented only for Move events coming from Touchscreen. This CL implements this behaviour for all Motion Events and other input devices such as Stylus, Mouse, Touchpad
Added tests for this functionality and also to test that if a DOWN -> EVENT -> UP/CANCEL happens the DOWN event is processed.
Bug: b/234026254
Test: atest InputTests
Flag: EXEMPT bugfix
Change-Id: I50b6035bd5de44845ef88484e148120b201a149e
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions