commit | 1d539d95ea476c525cc26ff059f6f6a1f6e3ea42 | [log] [tgz] |
---|---|---|
author | Haynes Mathew George <hgeorge@codeaurora.org> | Fri Mar 16 11:40:49 2018 -0700 |
committer | Carter Hsu <carterhsu@google.com> | Fri Aug 03 11:41:42 2018 +0800 |
tree | 7536317c06d311a10931b3d0feffa8b2be1799a6 | |
parent | 965737edc28bd76f6424f9ff4c1f0315f28a0434 [diff] |
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