commit | f7f65ef78599fab23538aa2a602babb14bf65f7a | [log] [tgz] |
---|---|---|
author | Anand Mohan <quic_anamoh@quicinc.com> | Tue Oct 10 20:57:44 2023 +0530 |
committer | Anand Mohan <quic_anamoh@quicinc.com> | Wed Feb 21 21:34:22 2024 -0800 |
tree | a5e11e141320e53509b486254f3ed85b42047a09 | |
parent | 2c54f94cdee4a5d3fd70ae30857feb158fea5b19 [diff] |
pal: avoid implicit device switch during resume if call is active If call is active on SCO and in-between SCO mode gets disconnected, AudioDeviceBroker will send resume params for A2DP profile. This will cause erroneous routing to A2DP devices during the call. Added param to check if phone mode is not normal and avoid device switch in that case. Change-Id: I628890aed0e233e6ce76ca831aac3ff5f86d60d8