commit | d0e2c74984f7542cc154a899190bda100ef38671 | [log] [tgz] |
---|---|---|
author | Mikhail Naganov <mnaganov@google.com> | Wed Mar 25 15:59:59 2020 -0700 |
committer | Mikhail Naganov <mnaganov@google.com> | Wed Mar 25 17:04:49 2020 -0700 |
tree | ee96ed7f289021026ab9bf29b252cad3240c0c3d | |
parent | 3006a83565b6863f247bf634faa929b84608026e [diff] |
APM: Notify the client about new audio ports Added missing notification to the APM client about new audio ports. This should make the ports provided by the newly discovered HAL to be available to apps. Process the onNewAudioModulesAvailable notification on the "APM Output" command thread to avoid clashing with outgoing commands from APM during module initialization. Bug: 149854039 Test: atest audiopolicy_tests Change-Id: I3fede7f5a04419b15e15476d8b5ac7dc6d63c98d