[automerge] DO NOT MERGE: Downbranch don't need this adjustment [Output Switcher] Keep the check for single device of add button 2p: f957ea7413
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16819998 Bug: 192631896 Change-Id: If594e712fdab470686f7fe07e5c4f9db93faeb15
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user