summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorAlan Viverette <alanv@google.com>2015-11-25 14:22:00 -0500
committerAlan Viverette <alanv@google.com>2015-11-25 14:22:00 -0500
commit021627eb5875372dea57ba91fa782fffbfbbc559 (patch)
treeeb34c1cf49177fa6312905e2c9a8cfb3fae43457 /tools/aapt2/java/JavaClassGenerator_test.cpp
parente38bdf6bf79ff8d536d6909ef0b595d6dc3d56ee (diff)
Ensure only one context menu is shown at a time
Refactors the menu helper classes. Both classes now implement a common MenuHelper interface, which eliminates the need to keep separate helpers on PhoneWindow and unifies the DecorView showContextMenuForChild() implementations. We now explicitly dismiss any previously shown context menu before showing a new context menu. Previously we relied on the modal nature of the dialog context menu to prevent multiple menus from being opened at once, but this is no longer reliable with popup context menus. Bug: 25656520 Change-Id: Idab3daa6d6888f803f2e33660fe1dd488e4c28d1
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions