commit | 6374c27aabc8dd0ca6eb2b23784e5adc26472ed9 | [log] [tgz] |
---|---|---|
author | Arthur Hung <arthurhung@google.com> | Fri Apr 08 08:16:45 2022 +0000 |
committer | Arthur Hung <arthurhung@google.com> | Mon Apr 11 02:33:11 2022 +0000 |
tree | b25dccc7d7742a2ade63de480bdebb083916ed73 | |
parent | c7f5a4d6eb95d6487771ed8230bca5ff62a0d3f3 [diff] |
Fix PopupMenuTest#testHoverSelectsMenuItem failure The `Instrumentation.sendPointerSync` used INJECT_INPUT_EVENT_MODE_WAIT_FOR_RESULT that would not wait for the input event to finish being handled by the application. This CL Replaced it by `CtsMouseUtil` so we can guarantee the application could handle the event before it return. Bug: 228201593 Test: atest PopupMenuTest Change-Id: I5d14b92d774a17992aec8f026847f26b21b00556