Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dcecbaed authored by Ben Lin's avatar Ben Lin
Browse files

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
parent 0e05cb9d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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) {