From 41c58bfcb5ddd4c4d3f0f1c0597a4567c0bca6ba Mon Sep 17 00:00:00 2001 From: "jin0.kim" Date: Tue, 26 Apr 2016 13:33:11 +0830 Subject: [PATCH] bluetooth icon does not show up Change-Id: Ie9013a8ed8dce79c402dfc5702d419842182be2c --- daemon/settings/modules/bluetooth.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/daemon/settings/modules/bluetooth.c b/daemon/settings/modules/bluetooth.c index e32764b..a68bccc 100755 --- a/daemon/settings/modules/bluetooth.c +++ b/daemon/settings/modules/bluetooth.c @@ -100,7 +100,9 @@ static void _status_update(QP_Module_Setting *module, int flag_extra_1, int flag retif(module == NULL, , "Invalid parameter!"); ret = bt_adapter_get_state(&adapter_state); - retif(ret != BT_ERROR_NONE, , "bt_adapter_get_state failed"); + if (ret != BT_ERROR_NONE) { + DBG("bt_adapter_get_state failed [%d]", ret); + } if (adapter_state == BT_ADAPTER_ENABLED) { quickpanel_setting_module_icon_state_set(module, ICON_VIEW_STATE_ON); -- 2.7.4