Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9f99ddd3 authored by Revathi Uddaraju's avatar Revathi Uddaraju Committed by Gerrit - the friendly Code Review server
Browse files

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
parent e3a47162
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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",
                                      __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