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-04 12:46:31 -0700
commit4048610354bc6fff0eea733d46df502a29487b9f (patch)
tree8372fc9f35f1e5e71a377c38ab6a55eb6ca6aab6
parent569737c6b0301a1411bd02cc9eb59e9c64c8a7eb (diff)
downloadlibhardware-4048610354bc6fff0eea733d46df502a29487b9f.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 3427213d..ef21361a 100644
--- a/include/hardware/bluetooth.h
+++ b/include/hardware/bluetooth.h
@@ -438,7 +438,7 @@ typedef struct {
int (*init)(bt_callbacks_t* callbacks );
/** Enable Bluetooth. */
- int (*enable)(void);
+ int (*enable)(bool guest_mode);
/** Disable Bluetooth. */
int (*disable)(void);