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

Commit f60d3647 authored by Krishnankutty Kolathappilly's avatar Krishnankutty Kolathappilly Committed by Steve Kondik
Browse files

frameworks/base: Add wifi display to fixed volume devices

Wifi display should be treated as device with fixed volume like HDMI.
User should not be able to change the volume on device. Volume
change should be supported only on the end device
CRs-Fixed: 480334

Change-Id: I2e41e9aef01167d1bdca3bca09ed863834dae1d8
parent cf72e39a
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -444,7 +444,8 @@ 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_ALL_USB;
            AudioSystem.DEVICE_OUT_ALL_USB |
            AudioSystem.DEVICE_OUT_PROXY;

    // TODO merge orientation and rotation
    private final boolean mMonitorOrientation;