DO NOT MERGE: Downbranch merge conflict [Output Switcher] Don't show checkmark when only a device connected am: 94280acc9a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18231937 Change-Id: I5fd929ab488d529185123753492204347680bbe0 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -211,16 +211,13 @@ public class MediaOutputAdapter extends MediaOutputBaseAdapter {
|
|||||||
View.IMPORTANT_FOR_ACCESSIBILITY_YES);
|
View.IMPORTANT_FOR_ACCESSIBILITY_YES);
|
||||||
setUpContentDescriptionForView(mEndTouchArea, true, device);
|
setUpContentDescriptionForView(mEndTouchArea, true, device);
|
||||||
} else if (!mController.hasAdjustVolumeUserRestriction() && currentlyConnected) {
|
} else if (!mController.hasAdjustVolumeUserRestriction() && currentlyConnected) {
|
||||||
mStatusIcon.setImageDrawable(
|
|
||||||
mContext.getDrawable(R.drawable.media_output_status_check));
|
|
||||||
mStatusIcon.setColorFilter(mController.getColorItemContent());
|
|
||||||
mTitleIcon.setImageDrawable(
|
mTitleIcon.setImageDrawable(
|
||||||
mContext.getDrawable(R.drawable.media_output_icon_volume));
|
mContext.getDrawable(R.drawable.media_output_icon_volume));
|
||||||
mTitleIcon.setColorFilter(mController.getColorItemContent());
|
mTitleIcon.setColorFilter(mController.getColorItemContent());
|
||||||
mTitleText.setTextColor(mController.getColorItemContent());
|
mTitleText.setTextColor(mController.getColorItemContent());
|
||||||
setSingleLineLayout(getItemTitle(device), true /* bFocused */,
|
setSingleLineLayout(getItemTitle(device), true /* bFocused */,
|
||||||
true /* showSeekBar */,
|
true /* showSeekBar */,
|
||||||
false /* showProgressBar */, true /* showStatus */);
|
false /* showProgressBar */, false /* showStatus */);
|
||||||
initSeekbar(device, isCurrentSeekbarInvisible);
|
initSeekbar(device, isCurrentSeekbarInvisible);
|
||||||
setUpContentDescriptionForView(mContainerLayout, false, device);
|
setUpContentDescriptionForView(mContainerLayout, false, device);
|
||||||
mCurrentActivePosition = position;
|
mCurrentActivePosition = position;
|
||||||
|
|||||||
Reference in New Issue
Block a user