Revert "hal: voice: fix no sound issue in voice call" am: 6ed310d179 am: c0ee18db73
am: 7fb5745c35
Change-Id: I9671f08d20aef2920db54c3ff43344592736dea8
diff --git a/hal/voice.c b/hal/voice.c
index f3250c9..d2215b6 100644
--- a/hal/voice.c
+++ b/hal/voice.c
@@ -124,10 +124,8 @@
session->state.current = CALL_INACTIVE;
/* Disable sidetone only when no calls are active */
- if (!voice_is_call_state_active(adev)) {
- adev->voice.in_call = false;
+ if (!voice_is_call_state_active(adev))
voice_set_sidetone(adev, uc_info->out_snd_device, false);
- }
ret = platform_stop_voice_call(adev->platform, session->vsid);