commit | 2cf6a920d2ce38251dbc570001249b9ca7ee4637 | [log] [tgz] |
---|---|---|
author | Aniket Kumar Lata <alata@codeaurora.org> | Tue May 07 17:01:43 2019 -0700 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Fri May 10 12:26:22 2019 -0700 |
tree | 88b2f093149ac6e991907327d1917a823d5cbf83 | |
parent | 99c1fc0d8b943b52f251374393bb23910b43211c [diff] |
hal: Modify A2DP output routing post releaseAudioPatch HAL routes A2DP stream to speaker on releaseAudioPatch from APM until the stream is put to standby from framework. APM may releaseAudioPatch for an output where A2DP is suspended and SCO is active leading to HAL switching all streams to speaker. Fix this behavior by routing streams to speaker only if both SCO and A2DP are not active. Change-Id: Ib61b3477847656f978d81999bcb9f66d8b5d21d5