Merge "hal: Update STHAL about Voicecall usecase." into audio-hal.lnx.4.0
diff --git a/hal/audio_extn/soundtrigger.c b/hal/audio_extn/soundtrigger.c
index aa541f0..041eb53 100644
--- a/hal/audio_extn/soundtrigger.c
+++ b/hal/audio_extn/soundtrigger.c
@@ -513,7 +513,7 @@
ALOGW("%s:invalid event %d, for usecase %d",
__func__, event, uc_info->id);
}
- } else if (uc_info->type == PCM_CAPTURE) {
+ } else if ((uc_info->type == PCM_CAPTURE) || (uc_info->type == VOICE_CALL)) {
if (event == ST_EVENT_STREAM_BUSY)
ev = AUDIO_EVENT_CAPTURE_STREAM_ACTIVE;
else