Add a workaround for A2DP devices that request Role Change
Certain A2DP devices request Role Change after connection, and typically the Phone grants it - as a result the Phone is the Slave. However, with Multi-A2DP, follow-up A2DP connections require that the Phone becomes the Master: within the existing stack we have function bta_av_switch_if_needed() that checks whether the Phone needs to request Role Change and become again the Master. Some A2DP devices will refuse the Phone to become the Master again, and this prevents/blocks the Phone from having multiple A2DP connections that are open. Test: Manual Bug: 72122792 Bug: 70350399 Change-Id: I749c73a38e3fb10262143ba6b41a7d65309ddf49 (cherry picked from commit 5706c1e4)
Loading
Please register or sign in to comment