summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAjay Panicker <apanicke@google.com>2016-03-18 14:27:36 -0700
committerJessica Wagantall <jwagantall@cyngn.com>2016-07-08 16:28:09 -0700
commitb602277b01cfd57a3682d0163d1b1502a22b88fd (patch)
treec3dddf593fd88f3d482f4e503d7a022126c82cb8
parent397277cc4ee0764184d3a5eaeea9f3dd26c996ab (diff)
downloadandroid_hardware_libhardware-stable/cm-13.0-ZNH2KB.tar.gz
android_hardware_libhardware-stable/cm-13.0-ZNH2KB.tar.bz2
android_hardware_libhardware-stable/cm-13.0-ZNH2KB.zip
Add guest mode functionality (1/3)stable/cm-13.0-ZNH2KB
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 Ticket: CYNGNOS-3020 Change-Id: I994a2933fd60301927ff2df65da634f81d4c9428 (cherry picked from commit 4048610354bc6fff0eea733d46df502a29487b9f) (cherry picked from commit e5b4eed0bc73c58d13cbebbb4b11a692e62279da)
-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 230444e0..5e8b468d 100644
--- a/include/hardware/bluetooth.h
+++ b/include/hardware/bluetooth.h
@@ -445,7 +445,7 @@ typedef struct {
int (*init)(bt_callbacks_t* callbacks );
/** Enable Bluetooth. */
- int (*enable)(void);
+ int (*enable)(bool guest_mode);
/** Disable Bluetooth. */
int (*disable)(void);