[Output Swithcer] Apply device volume in group instead of session volume am: cab5bb217d

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17035626

Change-Id: I57621bb5e1ef46841c085ff130d503109f5fe208
This commit is contained in:
shaoweishen
2022-03-02 02:13:39 +00:00
committed by Automerger Merge Worker

View File

@@ -174,7 +174,7 @@ public class MediaOutputAdapter extends MediaOutputBaseAdapter {
onCheckBoxClicked(false, device); onCheckBoxClicked(false, device);
}); });
setCheckBoxColor(mCheckBox, mController.getColorActiveItem()); setCheckBoxColor(mCheckBox, mController.getColorActiveItem());
initSessionSeekbar(); initSeekbar(device);
} else if (!mController.hasAdjustVolumeUserRestriction() && currentlyConnected) { } else if (!mController.hasAdjustVolumeUserRestriction() && currentlyConnected) {
mStatusIcon.setImageDrawable( mStatusIcon.setImageDrawable(
mContext.getDrawable(R.drawable.media_output_status_check)); mContext.getDrawable(R.drawable.media_output_status_check));