summaryrefslogtreecommitdiffstats
path: root/btif
diff options
context:
space:
mode:
authorMatthew Xie <mattx@google.com>2012-10-18 13:03:37 -0700
committerMatthew Xie <mattx@google.com>2012-10-18 13:13:39 -0700
commitc99ef49dcbff4ad1a316d7a38a2b152296c30ffc (patch)
tree75831c681cb263e68559928af9f3a759e71387b1 /btif
parentad66e170ebd53f8f5970844f9b28ec4d56125c13 (diff)
downloadexternal_bluetooth_bluedroid-c99ef49dcbff4ad1a316d7a38a2b152296c30ffc.zip
external_bluetooth_bluedroid-c99ef49dcbff4ad1a316d7a38a2b152296c30ffc.tar.gz
external_bluetooth_bluedroid-c99ef49dcbff4ad1a316d7a38a2b152296c30ffc.tar.bz2
During call state change DIALING/ALERTING -> CONNECTED, donot redo SCO
bug 7337252 Change-Id: Icd3ceada57c02887a9e5f3c850ebd7b5639111af
Diffstat (limited to 'btif')
-rwxr-xr-xbtif/src/btif_hf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/btif/src/btif_hf.c b/btif/src/btif_hf.c
index 49b0257..7ce22b1 100755
--- a/btif/src/btif_hf.c
+++ b/btif/src/btif_hf.c
@@ -992,7 +992,7 @@ static bt_status_t phone_state_change(int num_active, int num_held, bthf_call_st
case BTHF_CALL_STATE_ALERTING:
if (num_active > btif_hf_cb.num_active)
{
- ag_res.audio_handle = btif_hf_cb.handle;
+ ag_res.audio_handle = BTA_AG_HANDLE_SCO_NO_CHANGE;
res = BTA_AG_OUT_CALL_CONN_RES;
}
else