Merge "hal: Update STHAL about Voicecall usecase."

This commit is contained in:
Linux Build Service Account 2018-05-10 03:15:31 -07:00 committed by Gerrit - the friendly Code Review server
commit 0217adabac
1 changed files with 1 additions and 1 deletions

View File

@ -513,7 +513,7 @@ void audio_extn_sound_trigger_update_stream_status(struct audio_usecase *uc_info
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