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

Commit 229448b8 authored by Ben Lin's avatar Ben Lin Committed by Android (Google) Code Review
Browse files

Merge "PiP: Disable enter-split button when not visible." into sc-v2-dev

parents 968104d2 3cb94e0d
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();
            }
        });