summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2010-12-16 16:05:16 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2010-12-16 16:05:16 -0800
commita1608902f95dc8ff31a52c1f1c384829a803a701 (patch)
tree1fbbb53304c05546b25aef097c24ea9cbf57f9ea
parent49cdfcf574996bbe37bf547bac105f9df71253ac (diff)
parent5a756fb0f1f3f8cd7612284c889dfc69875577a8 (diff)
downloadframeworks_base-a1608902f95dc8ff31a52c1f1c384829a803a701.zip
frameworks_base-a1608902f95dc8ff31a52c1f1c384829a803a701.tar.gz
frameworks_base-a1608902f95dc8ff31a52c1f1c384829a803a701.tar.bz2
am 5a756fb0: Merge "Fix issue 2712130: Sholes: problem when playing audio while recording over bluetooth SCO." into gingerbread
* commit '5a756fb0f1f3f8cd7612284c889dfc69875577a8': Fix issue 2712130: Sholes: problem when playing audio while recording over bluetooth SCO.
-rw-r--r--media/libmedia/AudioSystem.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/media/libmedia/AudioSystem.cpp b/media/libmedia/AudioSystem.cpp
index 7e3b743..9c2a8ba 100644
--- a/media/libmedia/AudioSystem.cpp
+++ b/media/libmedia/AudioSystem.cpp
@@ -763,7 +763,8 @@ bool AudioSystem::isBluetoothScoDevice(audio_devices device)
if ((popCount(device) == 1 ) &&
(device & (AudioSystem::DEVICE_OUT_BLUETOOTH_SCO |
AudioSystem::DEVICE_OUT_BLUETOOTH_SCO_HEADSET |
- AudioSystem::DEVICE_OUT_BLUETOOTH_SCO_CARKIT))) {
+ AudioSystem::DEVICE_OUT_BLUETOOTH_SCO_CARKIT |
+ AudioSystem::DEVICE_IN_BLUETOOTH_SCO_HEADSET))) {
return true;
} else {
return false;