From e2eab4c74d2a82ab9922d976a371a3577887f207 Mon Sep 17 00:00:00 2001 From: Segwon Date: Fri, 6 Jan 2017 17:21:11 +0900 Subject: [PATCH] Modified not being found on client device, after Tizen Connect was turned off. Signed-off-by: Segwon Change-Id: I93ad0452332f8ed451e66d20f01c7948bfef8884 --- src/ui/setting_item_power.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/ui/setting_item_power.c b/src/ui/setting_item_power.c index f4ffa0b..041377a 100644 --- a/src/ui/setting_item_power.c +++ b/src/ui/setting_item_power.c @@ -24,6 +24,11 @@ static void convergence_power_on() if (ret != CONV_ERROR_NONE) { dlog_print(DLOG_ERROR, LOG_TAG, "convergence_power_on error. ret = %d", ret); } + + ret = conv_internal_set_service_activation_state(1); + if (ret != CONV_ERROR_NONE) { + dlog_print(DLOG_ERROR, LOG_TAG, "conv_internal_set_service_activation_state error. ret = %d", ret); + } } static void convergence_power_off() @@ -32,6 +37,11 @@ static void convergence_power_off() if (ret != CONV_ERROR_NONE) { dlog_print(DLOG_ERROR, LOG_TAG, "convergence_power_off error. ret = %d", ret); } + + ret = conv_internal_set_service_activation_state(0); + if (ret != CONV_ERROR_NONE) { + dlog_print(DLOG_ERROR, LOG_TAG, "conv_internal_set_service_activation_state error. ret = %d", ret); + } } static int get_convergence_power_state() -- 2.7.4