diff options
author | Eric Laurent <elaurent@google.com> | 2014-07-30 10:01:42 -0500 |
---|---|---|
committer | Vineeta Srivastava <vsrivastava@google.com> | 2014-08-05 16:39:52 -0700 |
commit | a57ab8da6fe56fdb91dfc95ebd0282eb879dde53 (patch) | |
tree | db2f3de488e94d9e98cbe2203e9704c81a56e505 | |
parent | 3c9879b980ad195797543ce237ecbe479267e16f (diff) | |
download | frameworks_av-a57ab8da6fe56fdb91dfc95ebd0282eb879dde53.zip frameworks_av-a57ab8da6fe56fdb91dfc95ebd0282eb879dde53.tar.gz frameworks_av-a57ab8da6fe56fdb91dfc95ebd0282eb879dde53.tar.bz2 |
policy manager: recognize AUDIO_DEVICE_IN_AMBIENT from policy.conf
Change-Id: If46b8d13f216bad4aa62598531d406d3303134f5
-rw-r--r-- | services/audiopolicy/AudioPolicyManager.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/services/audiopolicy/AudioPolicyManager.cpp b/services/audiopolicy/AudioPolicyManager.cpp index aa976b5..b09300b 100644 --- a/services/audiopolicy/AudioPolicyManager.cpp +++ b/services/audiopolicy/AudioPolicyManager.cpp @@ -88,6 +88,7 @@ const StringToEnum sDeviceNameToEnumTable[] = { STRING_TO_ENUM(AUDIO_DEVICE_OUT_SPDIF), STRING_TO_ENUM(AUDIO_DEVICE_OUT_FM), STRING_TO_ENUM(AUDIO_DEVICE_OUT_AUX_LINE), + STRING_TO_ENUM(AUDIO_DEVICE_IN_AMBIENT), STRING_TO_ENUM(AUDIO_DEVICE_IN_BUILTIN_MIC), STRING_TO_ENUM(AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET), STRING_TO_ENUM(AUDIO_DEVICE_IN_ALL_SCO), |