Commits

Adam Powell authored 2af189a0a79
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)