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

Commit b03900a6 authored by shaoweishen's avatar shaoweishen Committed by Shaowei Shen
Browse files

[Output Switcher] Enable volume for non-group device

Bug: 223606848
Test: Verified on device
Change-Id: Id7c1710e2a8b88409892fc4772f4904b01bd3bac
parent 0df8e9ce
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -721,7 +721,7 @@ public class MediaOutputController implements LocalMediaManager.DeviceCallback,

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

    @Override