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-26 15:19:56 -0700
commitb5288579191c94da0ce1814dee0136eb49eec9ae (patch)
treeb24b786dd97e178b94e2a666c503f2e6114bd2cc
parent64a2b7534486c509d0e13b91b12d52b42166080e (diff)
downloadlibhardware-lollipop-mr1-cts-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 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);