commit | 7bf382e5199e3e5e8cdf9dd444188b0303589cd8 | [log] [tgz] |
---|---|---|
author | Jaideep Sharma <quic_jaidshar@quicinc.com> | Thu Nov 26 17:07:29 2020 +0530 |
committer | Eric Laurent <elaurent@google.com> | Tue Dec 01 15:07:21 2020 +0000 |
tree | 679ba278dd81bf6b0f98e2ed518381e6c6909676 | |
parent | 7c1a5353dae19cf4f34a3fdfdfce0191b9b35a2d [diff] |
audiopolicy: stop output if it's still active before being released. There's an assertion in outputDesc->removeClient assuming client is inactive before removed, which is not always true. Fix by stoping the output before being released. Bug: 140221629 Test: make Change-Id: Ifd7ee020ee4e392d80e93763e078d363a62ec8c4