diff options
author | Segwon <segwon.han@samsung.com> | 2017-01-06 17:30:46 +0900 |
---|---|---|
committer | Segwon <segwon.han@samsung.com> | 2017-01-06 17:31:16 +0900 |
commit | 99556110dffef4cee87493055799852aa05adb4d (patch) | |
tree | 6b5ef0d07adfd2ec4d991768d86de1ab8235bc7d | |
parent | ed98ca768a2bd8c8a63bc8c950189644d68f9fd7 (diff) | |
download | d2d-conv-setting-accepted/tizen_wearable.tar.gz d2d-conv-setting-accepted/tizen_wearable.tar.bz2 d2d-conv-setting-accepted/tizen_wearable.zip |
Modified not being found on client device, after Tizen Connect was turned off.submit/tizen_unified/20170309.100419submit/tizen_unified/20170308.100420submit/tizen/20170117.095244accepted/tizen/wearable/20170118.041110accepted/tizen/unified/20170309.075035accepted/tizen_wearable
Signed-off-by: Segwon <segwon.han@samsung.com>
Change-Id: I9e395dd89c4f0b87e31778626cab35981a91924a
-rw-r--r-- | src/ui/setting_home.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/ui/setting_home.c b/src/ui/setting_home.c index 85aaa06..9477bc8 100644 --- a/src/ui/setting_home.c +++ b/src/ui/setting_home.c @@ -47,6 +47,11 @@ static void tizen_connect_power_on() if (ret != CONV_ERROR_NONE) { dlog_print(DLOG_ERROR, LOG_TAG, "tizen_connect_power_on error. ret = %d", ret); } + + ret = conv_internal_set_service_activation_state(tizen_connect_power_state); + if (ret != CONV_ERROR_NONE) { + dlog_print(DLOG_ERROR, LOG_TAG, "conv_internal_set_service_activation_state error. ret = %d", ret); + } } static void tizen_connect_power_off() @@ -55,10 +60,15 @@ static void tizen_connect_power_off() notice_disable(EINA_FALSE); tizen_connect_power_state = 0; - int ret = conv_internal_set_activation_state(0); + int ret = conv_internal_set_activation_state(tizen_connect_power_state); if (ret != CONV_ERROR_NONE) { dlog_print(DLOG_ERROR, LOG_TAG, "tizen_connect_power_off error. ret = %d", ret); } + + ret = conv_internal_set_service_activation_state(tizen_connect_power_state); + if (ret != CONV_ERROR_NONE) { + dlog_print(DLOG_ERROR, LOG_TAG, "conv_internal_set_service_activation_state error. ret = %d", ret); + } } static int get_tizen_connect_power_state() |