summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAjay Panicker <apanicke@google.com>2016-03-18 14:27:36 -0700
committerThe Android Automerger <android-build@google.com>2016-05-27 10:29:23 -0700
commite8f060ee87c1a16d235c8481a529f05adc6856ac (patch)
tree6b121b2951483da298a0df64ef70aca7a9ba3ba5
parent1ce7fe6b0a887edc6fad8e3386ab8e28a5f0d107 (diff)
downloadlibhardware-marshmallow-mr1-release.tar.gz
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);