Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit deb10abc authored by tim peng's avatar tim peng Committed by Android (Google) Code Review
Browse files

Merge "Disable volume control bar for all remote devices" into sc-dev

parents 10ad2480 4cd66d15
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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() {