summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2017-07-11 20:15:17 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-07-11 20:15:17 +0000
commit3fca77cec85512a978b7d0ad173dfe9519f0ef4e (patch)
tree0e3f6c66c8b71d748d1b80b6cfc06ad24d0af433
parent31e94c57e976a1c6f3443fd43dae2287ac375ffd (diff)
parent56f19a1f1188aced72103e7971603267519bdbed (diff)
downloadlibhardware-3fca77cec85512a978b7d0ad173dfe9519f0ef4e.tar.gz
Merge "GATT: Expose opportunistic client API to Java"android-o-preview-4
-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,