summaryrefslogtreecommitdiffstats
path: root/hal/voice_extn
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2014-05-14 14:44:31 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2014-05-14 14:44:31 -0700
commitd72dde4c99abfa8fc870e16c9efe2e3829dc2a7f (patch)
treec3978158418675e5ee1d4ad44b4ada78612ad193 /hal/voice_extn
parent78313cfe22a26be311b192701570797ff4b2ef25 (diff)
parentcdce407b036df7914c3e142e7078c49639a39ff8 (diff)
downloadandroid_hardware_qcom_audio-d72dde4c99abfa8fc870e16c9efe2e3829dc2a7f.tar.gz
android_hardware_qcom_audio-d72dde4c99abfa8fc870e16c9efe2e3829dc2a7f.tar.bz2
android_hardware_qcom_audio-d72dde4c99abfa8fc870e16c9efe2e3829dc2a7f.zip
Merge "hal: fix for voice + voip call concurrency"
Diffstat (limited to 'hal/voice_extn')
-rw-r--r--hal/voice_extn/voice_extn.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/hal/voice_extn/voice_extn.c b/hal/voice_extn/voice_extn.c
index 74dc4266..d42cc536 100644
--- a/hal/voice_extn/voice_extn.c
+++ b/hal/voice_extn/voice_extn.c
@@ -302,12 +302,6 @@ static int update_call_states(struct audio_device *adev,
no_of_calls_active++;
}
- /* When there is only one call active, wait for audio policy manager to set
- * the mode to AUDIO_MODE_NORMAL and trigger routing to end the last call.
- */
- if (no_of_calls_active == 1 && call_state == CALL_INACTIVE)
- return 0;
-
if (session) {
session->state.new = call_state;
voice_extn_is_in_call(adev, &is_in_call);