From 9a773fe3e5906e854e871b3c11f49b817a8f9dc5 Mon Sep 17 00:00:00 2001 From: Zach Johnson Date: Tue, 18 Apr 2017 21:28:22 -0700 Subject: [PATCH] Provide HFP API to set AG SCO policy Bug: 32958838 Test: manual Change-Id: I744c964e85dc78347a5d9bd69c1acc970774ecb6 --- include/hardware/bt_hf.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/hardware/bt_hf.h b/include/hardware/bt_hf.h index 892fbdbc..2b89c91d 100644 --- a/include/hardware/bt_hf.h +++ b/include/hardware/bt_hf.h @@ -323,6 +323,9 @@ typedef struct { /** Response for HF Indicator change (+BIND) */ bt_status_t (*bind_response)(bthf_hf_ind_type_t ind_id, bthf_hf_ind_status_t ind_status, bt_bdaddr_t *bd_addr); + + /** Whether we will initiate SCO or not **/ + bt_status_t (*set_sco_allowed)(bool value); } bthf_interface_t; __END_DECLS