Skip to content

Commit

Permalink
AudioService: Remove Analog Dock from fixed-volume devices
Browse files Browse the repository at this point in the history
* Many devices identifying as "Analog Docks" have not built in volume controls
  and rely on software volume (See: All Motorola Mods, older 3.5mm docks,
  etc.)

Change-Id: Ie9b97c7b17b882a5d804db398d149bd777ccf5a4
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
  • Loading branch information
Vachounet authored and neobuddy89 committed Jun 8, 2019
1 parent 174355b commit 8049daa
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,6 @@ private String makeDeviceListKey(int device, String deviceAddress) {
// Devices for which the volume is fixed and VolumePanel slider should be disabled
int mFixedVolumeDevices = AudioSystem.DEVICE_OUT_HDMI |
AudioSystem.DEVICE_OUT_DGTL_DOCK_HEADSET |
AudioSystem.DEVICE_OUT_ANLG_DOCK_HEADSET |
AudioSystem.DEVICE_OUT_HDMI_ARC |
AudioSystem.DEVICE_OUT_SPDIF |
AudioSystem.DEVICE_OUT_AUX_LINE;
Expand Down

0 comments on commit 8049daa

Please sign in to comment.