Merge "PiP: Disable enter-split button when not visible." into sc-v2-dev am: 229448b89e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16415929 Change-Id: I1376fecaa722068829eb1c2ada09fa645ae0162e
This commit is contained in:
@@ -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();
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user