summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack He <siyuanh@google.com>2016-11-17 17:50:47 -0800
committerJack He <siyuanh@google.com>2017-04-12 22:23:57 +0000
commit95a608c119a5a5945978d85f1614375a59b077ec (patch)
tree10b013b6e4d086e7c1c3973b98a293f27f809635
parent13cb2045ee4cab4f2afb8135005dd98dd99a84f7 (diff)
downloadlibhardware-95a608c119a5a5945978d85f1614375a59b077ec.tar.gz
Modify native stack calls for in-band ringing
* Update init to accept inband_ringing_supported flag Bug: 19171297 Test: mm -j 40, regression on HFP, testplans/82144 Change-Id: I3bbf8e370ffb4d893c4bb6ad0d3c09ef3f00d6bd (cherry picked from commit 5c1ac6882cd07188b224c0ea7ceabdb7fc08b3a6)
-rw-r--r--include/hardware/bt_hf.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/hardware/bt_hf.h b/include/hardware/bt_hf.h
index 0a77675a..892fbdbc 100644
--- a/include/hardware/bt_hf.h
+++ b/include/hardware/bt_hf.h
@@ -252,7 +252,7 @@ typedef struct {
/**
* Register the BtHf callbacks
*/
- bt_status_t (*init)( bthf_callbacks_t* callbacks, int max_hf_clients);
+ bt_status_t (*init)( bthf_callbacks_t* callbacks, int max_hf_clients, bool inband_ringing_supported);
/** connect to headset */
bt_status_t (*connect)( bt_bdaddr_t *bd_addr );
@@ -295,7 +295,7 @@ typedef struct {
*/
bt_status_t (*at_response) (bthf_at_response_t response_code, int error_code, bt_bdaddr_t *bd_addr );
- /** response for CLCC command
+ /** response for CLCC command
* Can be iteratively called for each call index
* Call index of 0 will be treated as NULL termination (Completes response)
*/
@@ -305,7 +305,7 @@ typedef struct {
bthf_call_addrtype_t type, bt_bdaddr_t *bd_addr );
/** notify of a call state change
- * Each update notifies
+ * Each update notifies
* 1. Number of active/held/ringing calls
* 2. call_state: This denotes the state change that triggered this msg
* This will take one of the values from BtHfCallState
@@ -317,7 +317,7 @@ typedef struct {
/** Closes the interface. */
void (*cleanup)( void );
- /** configureation for the SCO codec */
+ /** configuration for the SCO codec */
bt_status_t (*configure_wbs)( bt_bdaddr_t *bd_addr ,bthf_wbs_config_t config );
/** Response for HF Indicator change (+BIND) */