hal: Update STHAL about Voicecall usecase.
SVA detetions are happening during voice call in progress. Because STHAL is not updated about the voice call usecase and hence SVA is not being paused. Fix this issue by sending callback to STHAL from AHAL. Change-Id: I441aeec56fae5bcfbab3eed6697f08e6901024e6
This commit is contained in:
parent
e3a4716245
commit
9f99ddd3e5
|
@ -512,7 +512,7 @@ void audio_extn_sound_trigger_update_stream_status(struct audio_usecase *uc_info
|
||||||
ALOGW("%s:invalid event %d, for usecase %d",
|
ALOGW("%s:invalid event %d, for usecase %d",
|
||||||
__func__, event, uc_info->id);
|
__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)
|
if (event == ST_EVENT_STREAM_BUSY)
|
||||||
ev = AUDIO_EVENT_CAPTURE_STREAM_ACTIVE;
|
ev = AUDIO_EVENT_CAPTURE_STREAM_ACTIVE;
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue