summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAjay Panicker <apanicke@google.com>2016-03-18 14:27:36 -0700
committerAjay Panicker <apanicke@google.com>2016-05-22 12:47:50 -0700
commit4e10135ef499073711944860ccf9a7c43b8bf6ac (patch)
tree0c247eac991468f16dfe6847a3b4c321aad3aff9
parent793a854e4547fa43632907a987684cadc93eb5e2 (diff)
downloadlibhardware-4e10135ef499073711944860ccf9a7c43b8bf6ac.tar.gz
Add guest mode functionality (1/3)
Add a flag to enable() to start Bluetooth in restricted mode. In restricted mode, all devices that are paired during restricted mode are deleted upon leaving restricted mode. Right now restricted mode is only entered while a guest user is active Bug: 27410683 Change-Id: I994a2933fd60301927ff2df65da634f81d4c9428
-rw-r--r--include/hardware/bluetooth.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hardware/bluetooth.h b/include/hardware/bluetooth.h
index 74cd1fce..3c9a3528 100644
--- a/include/hardware/bluetooth.h
+++ b/include/hardware/bluetooth.h
@@ -435,7 +435,7 @@ typedef struct {
int (*init)(bt_callbacks_t* callbacks );
/** Enable Bluetooth. */
- int (*enable)(void);
+ int (*enable)(bool guest_mode);
/** Disable Bluetooth. */
int (*disable)(void);