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

Commit a08e2271 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

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

Change-Id: I11f82e3ce0d1fd6d7c2d014e3090f2bbad89267f
parents 2d2920df deb10abc
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() {