Merge "Disable volume control bar for all remote devices" into sc-dev am: deb10abc4f am: a08e2271ea
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15498913 Change-Id: Ib57b1926d68ad95d268229fde4fc2f3ea971fca8
This commit is contained in:
@@ -466,7 +466,7 @@ public class MediaOutputController implements LocalMediaManager.DeviceCallback {
|
||||
}
|
||||
|
||||
boolean isVolumeControlEnabled(@NonNull MediaDevice device) {
|
||||
return !device.getFeatures().contains(MediaRoute2Info.FEATURE_REMOTE_GROUP_PLAYBACK);
|
||||
return !isActiveRemoteDevice(device);
|
||||
}
|
||||
|
||||
private final MediaController.Callback mCb = new MediaController.Callback() {
|
||||
|
||||
Reference in New Issue
Block a user