diff options
author | Ajay Panicker <apanicke@google.com> | 2016-03-18 14:27:36 -0700 |
---|---|---|
committer | Ajay Panicker <apanicke@google.com> | 2016-04-18 16:44:36 -0700 |
commit | d51c01d9fddeffd94636cf555c5e0cab29943b5f (patch) | |
tree | 2fbfd9f62fe4bc4b76cb7fed87c729d9b52b6050 | |
parent | 958414f109d38e93f486deef3a27392c7cb4a01d (diff) | |
download | libhardware-d51c01d9fddeffd94636cf555c5e0cab29943b5f.tar.gz |
Add guest mode functionality (3/4)
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: Ibededbdb832275db4b6e78af83d26754f8b5a9ec
-rw-r--r-- | include/hardware/bluetooth.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hardware/bluetooth.h b/include/hardware/bluetooth.h index 13491148..b9b3b126 100644 --- a/include/hardware/bluetooth.h +++ b/include/hardware/bluetooth.h @@ -463,7 +463,7 @@ typedef struct { int (*init)(bt_callbacks_t* callbacks ); /** Enable Bluetooth. */ - int (*enable)(void); + int (*enable)(bool guest_mode); /** Disable Bluetooth. */ int (*disable)(void); |