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

Skip to content
Commit 54177c4a authored by Chaithanya Krishna Bacharaju's avatar Chaithanya Krishna Bacharaju
Browse files

audiopolicy: Do not close SoundTrigger input in CloseAllInputs

During device connect or disconnect, closeAllInputs is called and
all active inputs are closed. This needs to be ignored in case of
sound trigger session as it uses same io handle throughout.
Using same handle causes startInput on new session to fail if
releaseInput happens on previous session and handle removed
from mInputs.
ReleaseInput, startInput are called when record track is
invalidated and restored back as part of closing the input.
This would also cause setCapturestate to never be false.

Change-Id: I9f1c4f82b84805b5f7a0aa770b333e7f2aeee21c
parent 95333359
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment