diff options
author | jorgegil@google.com <jorgegil@google.com> | 2021-03-31 11:39:42 -0700 |
---|---|---|
committer | jorgegil@google.com <jorgegil@google.com> | 2021-03-31 11:43:34 -0700 |
commit | 1965456d5b0020f82c08b1828b378cc4337e5b4a (patch) | |
tree | bd8282ea191db379db0885e31cad3b4c23fb8d2e /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | b5cc4a537bbafe0a84ba74735374291656ec8c98 (diff) |
Account for OHM offset before possibly hiding the PIP menu
Menu actions were not clickable because the drag corner resize
handler did not take into account the OHM offset when comparing
the touch location to the PIP bounds, wrongly causing the menu
to be hidden on ACTION_DOWN and thus the menu actions never got
their click listeners fired on ACTION_UP.
Bug: 172839150
Test: Enter PIP with YT, enter OHM, play/pause/expand work fine
Change-Id: I8d1539cef46a5d7c0afe88e80638175cb3994db3
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions