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-06-01 16:10:19 -0700
commitb32e4ef5e09b5d2c0472b589b7b2582fec9ce791 (patch)
treeb5b76b610e0837585733e11ad7e70fb4c3a7a02f
parent66776e17bfacbe15e36a8e63712b90d7860e15fd (diff)
downloadlibhardware-marshmallow-dr-dragon-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 (cherry picked from commit 4048610354bc6fff0eea733d46df502a29487b9f)
-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 0f1a35bc..68cbd1e8 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);