From fce64defeae79cb66ae94ecb212a35c2c421ea0d Mon Sep 17 00:00:00 2001
From: Piotr Kosko
Date: Wed, 8 Jul 2020 11:22:14 +0200
Subject: [PATCH] [Bluetooth] Fix build break for disabled
APP_CONTROL_SETTINGS_SUPPORT
[Verification] Plugins for TV platform build with the change and
APP_CONTROL_SETTINGS_SUPPORT flag.
Change-Id: I23b87954b877ae278970446a03bc94ffe16c9aed
---
src/bluetooth/bluetooth_adapter.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/bluetooth/bluetooth_adapter.cc b/src/bluetooth/bluetooth_adapter.cc
index 128defb8..7bd1145d 100644
--- a/src/bluetooth/bluetooth_adapter.cc
+++ b/src/bluetooth/bluetooth_adapter.cc
@@ -808,7 +808,7 @@ void BluetoothAdapter::SetVisible(const picojson::value& data, picojson::object&
#else
this->user_request_list_[SET_VISIBLE] = true;
- int ntv_ret = bt_adapter_set_visibility(new_mode, new_timeout);
+ ntv_ret = bt_adapter_set_visibility(new_mode, new_timeout);
switch (ntv_ret) {
case BT_ERROR_NONE:
--
2.34.1