From cb2d28241fa9f7aa6a0ce17dcdec9c1edf1969f7 Mon Sep 17 00:00:00 2001 From: Zhou Song Date: Mon, 9 Dec 2019 16:51:17 +0800 Subject: [PATCH] sm6250-common: audio: add support of BT SCO mic for record_24 profile Usecase audio-record and audio-record-compress2 can both be mapped to record_24 profile, if both the usecases are active, when BT SCO mic is connected, due to no more available usecases in audio hal, check inputs for device can fail for other input profiles which support BT SCO mic. This makes BT SCO mic connection to be rejected and phone call can't route to BT. Add the support for record_24 profile, so existing input handle can be returned when checking inputs for BT SCO mic. Change-Id: I63046ec87e35774474e08762fb6aa6275318b2c8 --- audio/audio_policy_configuration.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audio/audio_policy_configuration.xml b/audio/audio_policy_configuration.xml index 352f08a..e2c4d03 100644 --- a/audio/audio_policy_configuration.xml +++ b/audio/audio_policy_configuration.xml @@ -360,7 +360,7 @@ + sources="Built-In Mic,Built-In Back Mic,Wired Headset Mic,BT SCO Headset Mic"/>