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

Commit 152e524e authored by Shaowei Shen's avatar Shaowei Shen Committed by Android (Google) Code Review
Browse files

Merge "[Output Switcher] Enable volume for non-group device" into tm-dev

parents 2e0c5af1 b03900a6
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -721,7 +721,7 @@ public class MediaOutputController implements LocalMediaManager.DeviceCallback,


    boolean isVolumeControlEnabled(@NonNull MediaDevice device) {
    boolean isVolumeControlEnabled(@NonNull MediaDevice device) {
        return isPlayBackInfoLocal()
        return isPlayBackInfoLocal()
                || mLocalMediaManager.isMediaSessionAvailableForVolumeControl();
                || device.getDeviceType() != MediaDevice.MediaDeviceType.TYPE_CAST_GROUP_DEVICE;
    }
    }


    @Override
    @Override