diff options
author | Ben Lin <linben@google.com> | 2020-06-30 13:21:53 -0700 |
---|---|---|
committer | Ben Lin <linben@google.com> | 2020-07-01 14:56:38 -0700 |
commit | b088dbba9e0c7b8805bf50d240736eff7519e644 (patch) | |
tree | db9b0d80d718227853b666508acc56c8c77c20e4 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 68823dfbed3b7acfb5b932f8cab60c4a806ff988 (diff) |
Run HOVER_EXIT event only if there's no BUTTON_PRESS event after.
When a mouse click happens, a HOVER_EXIT prceeds a BUTTON_PRESS
MotionEvent. This ends up causing the menu to fade away. We will check
for whether there's a BUTTON_PRESS event immediately afterward, and only
run hideMenu() after a certain timeout.
Bug: 160245414
Test: Clicking on items on the PIP menu works again
Change-Id: If06e9b51d2fa47735472f48314a9d5b4b146157b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions