diff options
author | Ajay Panicker <apanicke@google.com> | 2016-03-18 14:27:36 -0700 |
---|---|---|
committer | The Android Automerger <android-build@google.com> | 2016-05-27 11:31:29 -0700 |
commit | 8b3d5a64c3c8d010ad4517f652731f09107ae9c5 (patch) | |
tree | b5b76b610e0837585733e11ad7e70fb4c3a7a02f | |
parent | 2a5e3d2ea98049b7c96f39f434f40ba1a690df7c (diff) | |
download | hardware_libhardware-8b3d5a64c3c8d010ad4517f652731f09107ae9c5.zip hardware_libhardware-8b3d5a64c3c8d010ad4517f652731f09107ae9c5.tar.gz hardware_libhardware-8b3d5a64c3c8d010ad4517f652731f09107ae9c5.tar.bz2 |
Add guest mode functionality (1/3)
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hardware/bluetooth.h b/include/hardware/bluetooth.h index 0f1a35b..68cbd1e 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); |