summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmritanshu <a.pandia1@samsung.com>2021-06-22 11:53:49 +0530
committerAmritanshu <a.pandia1@samsung.com>2021-06-22 13:32:44 +0530
commit103d396720b416174932a951fcb5162127207925 (patch)
tree1f9d213cb7058ed549beabc313d8c637df9895d7
parent6ee4d97b30f6ed04951978b425caf7709719f361 (diff)
downloadw-clock-viewer-tizen_7.0.tar.gz
w-clock-viewer-tizen_7.0.tar.bz2
w-clock-viewer-tizen_7.0.zip
Change-Id: Iff90f608454083d6d0983bf48b21f4f48a60723d Signed-off-by: Amritanshu <a.pandia1@samsung.com>
-rwxr-xr-x[-rw-r--r--]clock-viewer/src/clock-viewer-widget.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/clock-viewer/src/clock-viewer-widget.c b/clock-viewer/src/clock-viewer-widget.c
index 724566c..a0fba83 100644..100755
--- a/clock-viewer/src/clock-viewer-widget.c
+++ b/clock-viewer/src/clock-viewer-widget.c
@@ -148,7 +148,12 @@ void clock_viewer_default_widget_init(void *data, Evas_Object *parent, char *clo
evas_object_smart_callback_add(parent, WATCH_SMART_SIGNAL_REMOVED, _watch_removed_cb, NULL);
watch_manager_get_app_control(CLOCK_PACKAGE_NAME, &watch_control);
- app_control_send_launch_request(watch_control, NULL, NULL);
+ int ret = app_control_send_launch_request(watch_control, NULL, NULL);
+ if (ret != APP_CONTROL_ERROR_NONE) {
+ _ERR("Failed to launch org.tizen.idle-clock-digital error = %d", ret);
+ app_control_destroy(watch_control);
+ return;
+ }
app_control_destroy(watch_control);
}