Merge "Revert "hal: Fix voice session setup failure""
diff --git a/hal/msm8916/platform.c b/hal/msm8916/platform.c
index b3943fd..1133790 100644
--- a/hal/msm8916/platform.c
+++ b/hal/msm8916/platform.c
@@ -2428,7 +2428,7 @@
goto exit;
}
- if (popcount(devices) == 2 && !voice_is_in_call(adev)) {
+ if (popcount(devices) == 2) {
if (devices == (AUDIO_DEVICE_OUT_WIRED_HEADPHONE |
AUDIO_DEVICE_OUT_SPEAKER)) {
if (my_data->external_spk_1)
diff --git a/hal/msm8974/platform.c b/hal/msm8974/platform.c
index f2d975f..142a85d 100644
--- a/hal/msm8974/platform.c
+++ b/hal/msm8974/platform.c
@@ -2049,7 +2049,7 @@
goto exit;
}
- if (popcount(devices) == 2 && !voice_is_in_call(adev)) {
+ if (popcount(devices) == 2) {
if (devices == (AUDIO_DEVICE_OUT_WIRED_HEADPHONE |
AUDIO_DEVICE_OUT_SPEAKER)) {
if (my_data->external_spk_1)