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: I847b7cfce184212c5533a36d855f3c8a57884e18 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) {
|
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