summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSegwon <segwon.han@samsung.com>2017-01-06 17:13:01 +0900
committerSegwon <segwon.han@samsung.com>2017-01-06 17:19:30 +0900
commitf81336512cd66edce9fea00c024105e6198821f1 (patch)
treea3fcd6fea482f959d22d6e53438220f71d1314d2
parenta5b74872a66bde195dcc234e2f55a7cd6499f985 (diff)
downloadd2d-conv-setting-f81336512cd66edce9fea00c024105e6198821f1.tar.gz
d2d-conv-setting-f81336512cd66edce9fea00c024105e6198821f1.tar.bz2
d2d-conv-setting-f81336512cd66edce9fea00c024105e6198821f1.zip
Modified not being found on client device, after Tizen Connect was turned off.submit/tizen/20170117.095244accepted/tizen/mobile/20170118.041036
Signed-off-by: Segwon <segwon.han@samsung.com> Change-Id: I0176e864ea146ce8d63598354344baed3df539d8
-rw-r--r--src/ui/setting_item_power.c10
1 files changed, 10 insertions, 0 deletions
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()