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

Commit c4b38107 authored by Takazumi Matsumoto's avatar Takazumi Matsumoto Committed by Gerrit Code Review
Browse files

AudioService: allow volume control on analog dock

This re-enables volume control on some Motorola docks.

Change-Id: If7751867de2c0cefb5a8518b5a6a607a9676b946
parent 7031e3f8
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -438,7 +438,6 @@ public class AudioService extends IAudioService.Stub implements OnFinished {
    // Devices for which the volume is fixed and VolumePanel slider should be disabled
    final int mFixedVolumeDevices = AudioSystem.DEVICE_OUT_AUX_DIGITAL |
            AudioSystem.DEVICE_OUT_DGTL_DOCK_HEADSET |
            AudioSystem.DEVICE_OUT_ANLG_DOCK_HEADSET |
            AudioSystem.DEVICE_OUT_ALL_USB;

    private final boolean mMonitorOrientation;