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

Commit 81f773cd authored by shaoweishen's avatar shaoweishen Committed by Presubmit Automerger Backend
Browse files

[automerge] DO NOT MERGE: Downbranch don't need this adjustment [Output...

[automerge] DO NOT MERGE: Downbranch don't need this adjustment [Output Switcher] Keep the check for single device of add button 2p: f957ea74

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

Bug: 192631896
Change-Id: If594e712fdab470686f7fe07e5c4f9db93faeb15
parents dc1f43d2 f957ea74
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -111,7 +111,8 @@ public class MediaOutputAdapter extends MediaOutputBaseAdapter {
            }
            mBottomDivider.setVisibility(View.GONE);
            mCheckBox.setVisibility(View.GONE);
            if (currentlyConnected && mController.isActiveRemoteDevice(device)) {
            if (currentlyConnected && mController.isActiveRemoteDevice(device)
                    && mController.getSelectableMediaDevice().size() > 0) {
                // Init active device layout
                mAddIcon.setVisibility(View.VISIBLE);
                mAddIcon.setTransitionAlpha(1);