Merge "[Output Switcher] Enable volume for non-group device" into tm-dev
This commit is contained in:
@@ -721,7 +721,7 @@ public class MediaOutputController implements LocalMediaManager.DeviceCallback,
|
|||||||
|
|
||||||
boolean isVolumeControlEnabled(@NonNull MediaDevice device) {
|
boolean isVolumeControlEnabled(@NonNull MediaDevice device) {
|
||||||
return isPlayBackInfoLocal()
|
return isPlayBackInfoLocal()
|
||||||
|| mLocalMediaManager.isMediaSessionAvailableForVolumeControl();
|
|| device.getDeviceType() != MediaDevice.MediaDeviceType.TYPE_CAST_GROUP_DEVICE;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user