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
diff --git a/include/hardware/bt_hf.h b/include/hardware/bt_hf.h
index 0a77675..892fbdb 100644
--- a/include/hardware/bt_hf.h
+++ b/include/hardware/bt_hf.h
@@ -252,7 +252,7 @@
/**
* 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 @@
*/
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 @@
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 @@
/** 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) */