From d22226b58bc753808f4b5c06c695773669493b41 Mon Sep 17 00:00:00 2001 From: Hall Liu Date: Fri, 19 Feb 2016 17:20:08 -0800 Subject: [PATCH] Stop turning on SCO audio automatically during call Remove some code that turns on SCO audio automatically when a device connects, since Telecom should be responsible for routing audio to bluetooth during a call. Bug: 22507913 Change-Id: Iabf9cb8dd77d47505e87d865f8208268d9b417b7 --- btif/src/btif_hf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/btif/src/btif_hf.c b/btif/src/btif_hf.c index 4987bbe9f..cb968da99 100644 --- a/btif/src/btif_hf.c +++ b/btif/src/btif_hf.c @@ -1311,7 +1311,7 @@ static bt_status_t phone_state_change(int num_active, int num_held, bthf_call_st __FUNCTION__); memset(&ag_res, 0, sizeof(tBTA_AG_RES_DATA)); - ag_res.audio_handle = btif_hf_cb[idx].handle; + ag_res.audio_handle = BTA_AG_HANDLE_SCO_NO_CHANGE; /* Addition call setup with the Active call ** CIND response should have been updated. ** just open SCO conenction. -- 2.11.0