commit | 407e5aa5bbfcd953244674a815a29decfe37d839 | [log] [tgz] |
---|---|---|
author | Zhou Song <zhous@codeaurora.org> | Sun Dec 27 19:13:04 2020 +0800 |
committer | Zhou Song <zhous@codeaurora.org> | Mon Jan 11 14:37:37 2021 +0800 |
tree | 2b1de8d90d4a236b5a7b4ada36897b6aec4edaf1 | |
parent | 8d7aa691f2f8cf739f5ec04f71a718c92c419d92 [diff] |
hal: switch to current active device when a2dp suspended When SCO profile is disabled, during voice call, device can be switched to handset first and followed with a2dpsuspended param, device will be switched to speaker and if it shares backend with handset, voice call can be eventually switched to speaker which is unexpected. Check if there's any other active usecase and switch to the same one during check_a2dp_restore. Change-Id: I2cabccffc5d2601362a5da16b9793c218a009822