Merge "[Output Switcher] Enable volume for non-group device" into tm-dev am: 152e524ebe
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17397148 Change-Id: Iae7aa2021d6e00952bc50eac46c14899de51fbe7 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -721,7 +721,7 @@ public class MediaOutputController implements LocalMediaManager.DeviceCallback,
|
||||
|
||||
boolean isVolumeControlEnabled(@NonNull MediaDevice device) {
|
||||
return isPlayBackInfoLocal()
|
||||
|| mLocalMediaManager.isMediaSessionAvailableForVolumeControl();
|
||||
|| device.getDeviceType() != MediaDevice.MediaDeviceType.TYPE_CAST_GROUP_DEVICE;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user