commit | 5893d3646bfe1a1509c7397365e0e29696102781 | [log] [tgz] |
---|---|---|
author | Prabir Pradhan <prabirmsp@google.com> | Fri Nov 17 04:30:40 2023 +0000 |
committer | Prabir Pradhan <prabirmsp@google.com> | Fri Nov 17 16:16:52 2023 +0000 |
tree | d2af486c1ea84aea10af08de572f12eb9079e9f1 | |
parent | 2a2da1d8217e2f2de767c7b56b607af401699bca [diff] |
Add test case for hover eventId synthesis When a new event is synthesized in InputDispatcher causing its action to change, the synthesized event should always have a new eventId. Verify this by adding a test case where hover enters and exits are synthesized from hover moves, and ensure the synthesized events have a new eventId, while move events retain their original id. Bug: 210460522 Test: atest inputflinger_tests Change-Id: Icb413f412dd68a0e6bfb056af18ef5e0935facef