commit | c234ce4df974f817e15dd36f283c4590c7c1ff72 | [log] [tgz] |
---|---|---|
author | qctecmdr <qctecmdr@localhost> | Mon Feb 22 21:31:47 2021 -0800 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Mon Feb 22 21:31:47 2021 -0800 |
tree | f37b1c9c0ab913fbcbfb2987f0e9edb52f11401e | |
parent | f045ed6d3ba882e0246e3724c4ed52c43dab414e [diff] | |
parent | 87f53aac88b71a86223640223d549a8f67a1099c [diff] |
Merge "audio-hal: fix a2dp mute issue"
diff --git a/hal/audio_hw.c b/hal/audio_hw.c index 062386c..212043b 100644 --- a/hal/audio_hw.c +++ b/hal/audio_hw.c
@@ -3206,7 +3206,7 @@ } if (is_sco_in_device_type(&in->device_list)) { - if (!adev->bt_sco_on) { + if (!adev->bt_sco_on || audio_extn_a2dp_source_is_ready()) { ALOGE("%s: SCO profile is not ready, return error", __func__); ret = -EIO; goto error_config;