summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJun Mukai <mukai@google.com>2015-03-23 18:26:12 -0700
committerJun Mukai <mukai@google.com>2015-03-24 17:24:10 -0700
commit33e3036a38d0c32ab3e69a93116e3e6cce232030 (patch)
treef084eba4fa671d85df78fdd6061ff140d507384f /tools/aapt2/java/JavaClassGenerator_test.cpp
parente7f931c4505a6bd62e01bef5193dd724571a672b (diff)
Fix right click to context menu behavior of View.
When the View opens the context menu, the mouse-down event is already handled. Therefore, the next ACTION_UP should be canceled, otherwise, single right click shows the context menu and then invokes the normal click actions. Also, the right-down event should always be consumed regardless of the context menu support. "the right click opens the context menu on some views, but it behaves as a normal click on some other views" would confuse users. Bug: 19641497 Change-Id: Ibbc18fe641745cf42382129b81858d8f3d14768b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions