summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorAdam Powell <adamp@google.com>2016-02-05 15:52:02 -0800
committerAdam Powell <adamp@google.com>2016-02-08 18:59:28 +0000
commit2af189a0a7962501b808cd50499d978a7cd10d81 (patch)
treeeccb743f4760fba2ce0e1f1914bcde0713156b82 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent199cb4dfe58bd5a4198cd414dcefd2b02d48548d (diff)
Preserve compatibility for ViewGroup#showContextMenuForChild
Have the new showContextMenuForChild(View, float, float) call through to the old showContextMenuForChild(View) before recursing up to its parent. This ensures that existing apps with custom views that override the old method still get called as expected if they implement custom behavior. Unlike some other similar circumstances we aren't implementing this to be bidirectional as the new behavior doesn't need to be triggered by invoking the old. If the older method is invoked explicitly we will still show old-style dialog context menus instead of the newer popup style since we won't have a good place to visually anchor a popup. Bug 26919262 Change-Id: Ie09f922d322b5a24789c7867820c4bc43824c385 (cherry picked from commit 759a4c54004af6ac9f42c9c42496a5eb73c461ff)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions