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

Commit 3cb94e0d authored by Ben Lin's avatar Ben Lin
Browse files

PiP: Disable enter-split button when not visible.

Bug: 209360831
Test: Enter PiP, press on where split-button should be - doesn't do
anything

Change-Id: I456cf7f3aa2aecdf3dae10d968c28d92e985e7dd
parent 99461804
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -189,7 +189,7 @@ public class PipMenuView extends FrameLayout {
        mEnterSplitButton = findViewById(R.id.enter_split);
        mEnterSplitButton.setAlpha(0);
        mEnterSplitButton.setOnClickListener(v -> {
            if (mMenuContainer.getAlpha() != 0) {
            if (mEnterSplitButton.getAlpha() != 0) {
                enterSplit();
            }
        });