summaryrefslogtreecommitdiff
path: root/libs/gui/LayerState.cpp
diff options
context:
space:
mode:
author Prabir Pradhan <prabirmsp@google.com> 2024-01-24 00:03:41 +0000
committer Prabir Pradhan <prabirmsp@google.com> 2024-02-20 23:02:01 +0000
commit9d5f9ce1b7ca608784f1eb4e40ef12a576123456 (patch)
tree7dc63eeb56bc9ed488be570db5ddbceaf383c945 /libs/gui/LayerState.cpp
parentc88b1fa7cb48ce2a28d1e6c4db4b9c002f4f407a (diff)
InputDispatcher_test: Consume all moves to prevent events from batching
InputDispatcherTest uses a real input channel, which means if subsequent MOVE events are not consumed, they will be batched together. Currently this applies to windows with split touches, where pointers moving on one split window will generate MOVEs on the other window which the test is not consuming, and thus end up getting batched. Avoid this situation by explicitly consuming all MOVE events in affected tests. Bug: 210460522 Test: atest inputflinger_tests Change-Id: I308c12e2aaf98f630bdac8021f7238e913a49056
Diffstat (limited to 'libs/gui/LayerState.cpp')
0 files changed, 0 insertions, 0 deletions