audiopolicy: reset capture state when input is closed
An active input can be closed before stopInput is called, thus
leaving the input handle to be an unknown input, then the capture
state can keep in true which blocks sound trigger session.
Reset the capture state if needed when input is closed.
Bug: 75253700
Test: manual
authored-by: Zhou Song <zhous@codeaurora.org>
Change-Id: I969aa346e503cab593c33b6ca408845d058f00bc
Loading
Please register or sign in to comment