Modified not being found on client device, after Tizen Connect was turned off. 38/108938/1 accepted/tizen/3.0/mobile/20170110.043757 submit/tizen_3.0/20170109.044024
authorSegwon <segwon.han@samsung.com>
Fri, 6 Jan 2017 08:21:11 +0000 (17:21 +0900)
committerSegwon <segwon.han@samsung.com>
Fri, 6 Jan 2017 08:21:43 +0000 (17:21 +0900)
Signed-off-by: Segwon <segwon.han@samsung.com>
Change-Id: I93ad0452332f8ed451e66d20f01c7948bfef8884

src/ui/setting_item_power.c

index f4ffa0b..041377a 100644 (file)
@@ -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()