[Output Switcher] Enable volume control for single cast device
Test: verified on device Bug: 202500642 Bug: 206373080 Change-Id: Idac5b52e8bb3effe2ab290d8051a442294f8d7b0
This commit is contained in:
committed by
Shaowei Shen
parent
c452e34460
commit
ad724437bd
@@ -539,8 +539,7 @@ public class MediaOutputController implements LocalMediaManager.DeviceCallback {
|
||||
}
|
||||
|
||||
boolean isVolumeControlEnabled(@NonNull MediaDevice device) {
|
||||
// TODO(b/202500642): Also enable volume control for remote non-group sessions.
|
||||
return !isActiveRemoteDevice(device)
|
||||
return !device.getFeatures().contains(MediaRoute2Info.FEATURE_REMOTE_GROUP_PLAYBACK)
|
||||
|| mVolumeAdjustmentForRemoteGroupSessions;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user