commit | 52785f3df24fe817af4f1c3c2cddfb30ab5450ee | [log] [tgz] |
---|---|---|
author | Chris Thornton <thorntonc@google.com> | Tue Feb 09 17:28:49 2016 -0800 |
committer | Chris Thornton <thorntonc@google.com> | Tue Feb 09 17:28:49 2016 -0800 |
tree | 28535fcfed7f5d82c1c8575da06ecae08f46353d | |
parent | b30f2636bc36d56b94dc5d35e20a68b2e403aac2 [diff] |
Call SoundTrigger::setCaptureState in AudioPoilcyManager::closeAllInputs closeAllInputs wasn't informing the sound trigger service that all inputs were closed. This meant that the service could get stuck in a state where it was disabled because it thought there was some active capture, even though there was nothing listening. (This was particularly common when a bluetooth device disconnected). BUG: 26970013,26450651 Change-Id: I613434ecacce3ef03a657008fd94c314948ba2b8