PiP: Recheck condition to pass input to menu.
This used to be OR (pip is not stashed), but it should be AND. Bug: 186499713 Test: Double tap on where the play button should be even when the menu is not visible, no longer pauses Change-Id: If8e101286ddfbb83caf0d6a85a1089e6c257f996
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user