From: DoHyun Pyun Date: Fri, 13 Mar 2020 04:52:38 +0000 (+0900) Subject: Remove unnecessary log X-Git-Tag: submit/tizen/20200316.013847^0 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fconnectivity%2Fbluetooth-frwk.git;a=commitdiff_plain;h=35e608b5d86204ef260288f8572a73b9f5ff447f Remove unnecessary log Change-Id: Ia3c927d89f6322e4a9200f6a57de04ff9940c308 Signed-off-by: DoHyun Pyun --- diff --git a/bt-api/bt-adapter.c b/bt-api/bt-adapter.c index 6a0ccb2..36edc67 100644 --- a/bt-api/bt-adapter.c +++ b/bt-api/bt-adapter.c @@ -112,7 +112,6 @@ BT_EXPORT_API int bluetooth_enable_adapter(void) BT_EXPORT_API int bluetooth_set_battery_monitor_state(bool state) { - BT_INFO("Setting vconf key"); if (vconf_set_bool(VCONFKEY_BATTERY_MONITOR_STATUS, state) != 0) { BT_ERR("vconf_set_bool failed"); @@ -124,9 +123,10 @@ BT_EXPORT_API int bluetooth_set_battery_monitor_state(bool state) BT_EXPORT_API int bluetooth_get_battery_monitor_state() { int state = 0; - BT_INFO("Getting vconf key value"); + if (vconf_get_bool(VCONFKEY_BATTERY_MONITOR_STATUS, &state) != 0) BT_ERR("vconf_get_bool failed"); + return state; }