Add guest mode functionality (4/5)
am: 24d8063718
* commit '24d806371888e56a8f739b9ee80354de5a0dd8a0':
Add guest mode functionality (4/5)
Change-Id: I5b6a94c459eaabcb918589eb1e76ef769be29cbc
diff --git a/sl4n/facades/bluetooth/bluetooth_binder_facade.cpp b/sl4n/facades/bluetooth/bluetooth_binder_facade.cpp
index 51c1644..a15a347 100644
--- a/sl4n/facades/bluetooth/bluetooth_binder_facade.cpp
+++ b/sl4n/facades/bluetooth/bluetooth_binder_facade.cpp
@@ -55,7 +55,7 @@
LOG(ERROR) << sl4n::kTagStr << ": IBluetooth interface not enabled";
return std::make_tuple(false, sl4n_error_codes::kFailInt);
}
- bool result = bt_iface->Enable();
+ bool result = bt_iface->Enable(false);
if (!result) {
LOG(ERROR) << sl4n::kTagStr << ": Failed to enable the Bluetooth service";
return std::make_tuple(false, sl4n_error_codes::kPassInt);
@@ -172,4 +172,4 @@
BluetoothBinderFacade::BluetoothBinderFacade() {
adv_settings_count = 0;
manu_data_count = 0;
-}
\ No newline at end of file
+}