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

Commit 896f05ac authored by Ben Lin's avatar Ben Lin Committed by Automerger Merge Worker
Browse files

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

Merge "PiP: Disable enter-split button when not visible." into sc-v2-dev am: 229448b8 am: 70a599b1

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16415929

Change-Id: I0a7f38826af456bf97032b72a5162b64c45190b0
parents 7e6befc6 70a599b1
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();
            }
        });