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 | libhardware-android-6.0.1_r78.tar.gz |
Add guest mode functionality (1/3)android-6.0.1_r78android-6.0.1_r77android-6.0.1_r74android-6.0.1_r72android-6.0.1_r70android-6.0.1_r66android-6.0.1_r61android-6.0.1_r60android-6.0.1_r59android-6.0.1_r58android-6.0.1_r52android-6.0.1_r51android-6.0.1_r50android-6.0.1_r49marshmallow-mr3-release
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 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); |