Merge "PiP: Recheck condition to pass input to menu." into sc-dev

This commit is contained in:
Ben Lin
2021-05-12 21:33:01 +00:00
committed by Android (Google) Code Review

View File

@@ -614,7 +614,7 @@ public class PipTouchHandler {
}
}
shouldDeliverToMenu |= !mPipBoundsState.isStashed();
shouldDeliverToMenu &= !mPipBoundsState.isStashed();
// Deliver the event to PipMenuActivity to handle button click if the menu has shown.
if (shouldDeliverToMenu) {