Merge "hal: Fix for no audio recorded during voice downlink record with mic muted"
diff --git a/hal/audio_hw.c b/hal/audio_hw.c
index 28035d3..c00b067 100644
--- a/hal/audio_hw.c
+++ b/hal/audio_hw.c
@@ -1779,7 +1779,7 @@
      * Instead of writing zeroes here, we could trust the hardware
      * to always provide zeroes when muted.
      */
-    if (ret == 0 && voice_get_mic_mute(adev))
+    if (ret == 0 && voice_get_mic_mute(adev) && !voice_is_in_call(adev))
         memset(buffer, 0, bytes);
 
 exit: