summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2014-05-16 15:18:45 -0700
committerEric Laurent <elaurent@google.com>2014-05-19 18:43:49 -0700
commit948d32748caaac5be06c991ebf00f74265a7849f (patch)
tree36842d19a1badbe8bc06ff973a115f83b76e2533 /services
parent22458ab3805d6f0939f7765470fdedaa9ddda01f (diff)
downloadframeworks_base-948d32748caaac5be06c991ebf00f74265a7849f.zip
frameworks_base-948d32748caaac5be06c991ebf00f74265a7849f.tar.gz
frameworks_base-948d32748caaac5be06c991ebf00f74265a7849f.tar.bz2
AudioSystem: add new audio device definitions
Change-Id: Ib7675bc33771365b2dbb7694c522469317b11457
Diffstat (limited to 'services')
-rw-r--r--services/core/java/com/android/server/WiredAccessoryManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/core/java/com/android/server/WiredAccessoryManager.java b/services/core/java/com/android/server/WiredAccessoryManager.java
index c32beda..cd8c13f 100644
--- a/services/core/java/com/android/server/WiredAccessoryManager.java
+++ b/services/core/java/com/android/server/WiredAccessoryManager.java
@@ -264,7 +264,7 @@ final class WiredAccessoryManager implements WiredAccessoryCallbacks {
} else if (headset == BIT_USB_HEADSET_DGTL) {
device = AudioManager.DEVICE_OUT_DGTL_DOCK_HEADSET;
} else if (headset == BIT_HDMI_AUDIO) {
- device = AudioManager.DEVICE_OUT_AUX_DIGITAL;
+ device = AudioManager.DEVICE_OUT_HDMI;
} else {
Slog.e(TAG, "setDeviceState() invalid headset type: "+headset);
return;