OSDN Git Service
(root)
/
android-x86
/
external-bluetooth-bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7574ce
)
android/handsfree: Start codec selection if HF send AT+BAC while codec connection
author
Marcin Kraglak
<marcin.kraglak@tieto.com>
Fri, 21 Mar 2014 14:30:20 +0000
(15:30 +0100)
committer
Szymon Janc
<szymon.janc@tieto.com>
Fri, 21 Mar 2014 15:10:33 +0000
(16:10 +0100)
If AG receives AT+BAC in response to +BCS, refresh list of codecs
and start new codec connection. It is required in TC_AG_ACC_BV_11_I
PTS test case.
android/handsfree.c
patch
|
blob
|
history
diff --git
a/android/handsfree.c
b/android/handsfree.c
index
4651b0d
..
e1bf563
100644
(file)
--- a/
android/handsfree.c
+++ b/
android/handsfree.c
@@
-1278,6
+1278,9
@@
static void at_cmd_bac(struct hfp_gw_result *result, enum hfp_gw_cmd_type type,
}
hfp_gw_send_result(device.gw, HFP_RESULT_OK);
+
+ if (device.proposed_codec)
+ select_codec(0);
return;
case HFP_GW_CMD_TYPE_TEST:
case HFP_GW_CMD_TYPE_READ: