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

Commit 8497be71 authored by tim peng's avatar tim peng Committed by Automerger Merge Worker
Browse files

Merge "Disable volume control bar for all remote devices" into sc-dev am: deb10abc am: 405aca18

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15498913

Change-Id: I699c62715176c62f19a11fb470252a279aaaf48f
parents e7a33aa8 405aca18
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() {