summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack He <siyuanh@google.com>2017-07-11 20:53:10 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-07-11 20:53:10 +0000
commitc3820f7b77ee76722fb3934813855b6166a806e2 (patch)
treeeb2022d66d49b0d1f9e6c6a516f993ae468f6746
parentd2026c3c1e0227ba05bf649feb91d62aa921bb79 (diff)
parentc00d8ae936dc7f80a199956a8735b325b3388c2f (diff)
downloadlibhardware-c3820f7b77ee76722fb3934813855b6166a806e2.tar.gz
Merge "GATT: Expose opportunistic client API to Java" am: 3fca77cec8 am: e046029d08 am: 037bf66399
am: c00d8ae936 Change-Id: I2650530634c33af2d4e699f7987f1153c9c98a1b
-rw-r--r--include/hardware/bt_gatt_client.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/hardware/bt_gatt_client.h b/include/hardware/bt_gatt_client.h
index 9adeb6f0..cafc2da7 100644
--- a/include/hardware/bt_gatt_client.h
+++ b/include/hardware/bt_gatt_client.h
@@ -207,7 +207,8 @@ typedef struct {
/** Create a connection to a remote LE or dual-mode device */
bt_status_t (*connect)(int client_if, const RawAddress& bd_addr,
- bool is_direct, int transport, int initiating_phys);
+ bool is_direct, int transport, bool opportunistic,
+ int initiating_phys);
/** Disconnect a remote device or cancel a pending connection */
bt_status_t (*disconnect)( int client_if, const RawAddress& bd_addr,