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

Commit f957ea74 authored by shaoweishen's avatar shaoweishen Committed by Shaowei Shen
Browse files

DO NOT MERGE: Downbranch don't need this adjustment [Output Switcher] Keep the...

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

Test: atest MediaOutputAdapterTest
Bug: 192631896
Change-Id: I5030ce21bef9ec37dded3dedff0d6486eef2d8e4
parent e410b7d7
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);