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

Commit 0d1ce1ff authored by Shaowei Shen's avatar Shaowei Shen Committed by Android (Google) Code Review
Browse files

Merge changes from topic "presubmit-am-86e91cffbb564d20a27cb55011174a08" into sc-v2-dev-plus-aosp

* changes:
  [automerge] DO NOT MERGE: Downbranch don't need this adjustment [Output Switcher] Keep the check for single device of add button 2p: f957ea74
  DO NOT MERGE: Downbranch don't need this adjustment [Output Switcher] Keep the check for single device of add button
parents 2ac83c4e 81f773cd
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);