Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 9d5f9ce1 authored by Prabir Pradhan's avatar Prabir Pradhan
Browse files

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
parent c88b1fa7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment