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

Commit 94280acc authored by shaoweishen's avatar shaoweishen
Browse files

DO NOT MERGE: Downbranch merge conflict [Output Switcher] Don't show checkmark...

DO NOT MERGE: Downbranch merge conflict [Output Switcher] Don't show checkmark when only a device connected

Bug: 232037600
Test: Verified on device
Change-Id: Ib2f2816b79a9244ad358740ea36b92a7ad8b2843
parent 8b644eff
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -211,16 +211,13 @@ public class MediaOutputAdapter extends MediaOutputBaseAdapter {
                            View.IMPORTANT_FOR_ACCESSIBILITY_YES);
                    setUpContentDescriptionForView(mEndTouchArea, true, device);
                } else if (!mController.hasAdjustVolumeUserRestriction() && currentlyConnected) {
                    mStatusIcon.setImageDrawable(
                            mContext.getDrawable(R.drawable.media_output_status_check));
                    mStatusIcon.setColorFilter(mController.getColorItemContent());
                    mTitleIcon.setImageDrawable(
                            mContext.getDrawable(R.drawable.media_output_icon_volume));
                    mTitleIcon.setColorFilter(mController.getColorItemContent());
                    mTitleText.setTextColor(mController.getColorItemContent());
                    setSingleLineLayout(getItemTitle(device), true /* bFocused */,
                            true /* showSeekBar */,
                            false /* showProgressBar */, true /* showStatus */);
                            false /* showProgressBar */, false /* showStatus */);
                    initSeekbar(device, isCurrentSeekbarInvisible);
                    setUpContentDescriptionForView(mContainerLayout, false, device);
                    mCurrentActivePosition = position;