summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libaudio2/AudioHardware.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libaudio2/AudioHardware.cpp b/libaudio2/AudioHardware.cpp
index 2a25b53..0eee17a 100644
--- a/libaudio2/AudioHardware.cpp
+++ b/libaudio2/AudioHardware.cpp
@@ -601,6 +601,7 @@ status_t AudioHardware::setIncallPath_l(uint32_t device)
break;
case AudioSystem::DEVICE_OUT_SPEAKER:
+ case AudioSystem::DEVICE_OUT_WIRED_HEADPHONE :
LOGI("### incall mode speaker route");
path = SOUND_AUDIO_PATH_SPEAKER;
break;
@@ -617,7 +618,6 @@ status_t AudioHardware::setIncallPath_l(uint32_t device)
break;
case AudioSystem::DEVICE_OUT_WIRED_HEADSET :
- case AudioSystem::DEVICE_OUT_WIRED_HEADPHONE :
LOGI("### incall mode headset route");
path = SOUND_AUDIO_PATH_HEADSET;
break;