diff options
author | Amritanshu <a.pandia1@samsung.com> | 2021-06-22 11:53:49 +0530 |
---|---|---|
committer | Amritanshu <a.pandia1@samsung.com> | 2021-06-22 13:32:44 +0530 |
commit | 103d396720b416174932a951fcb5162127207925 (patch) | |
tree | 1f9d213cb7058ed549beabc313d8c637df9895d7 | |
parent | 6ee4d97b30f6ed04951978b425caf7709719f361 (diff) | |
download | w-clock-viewer-103d396720b416174932a951fcb5162127207925.tar.gz w-clock-viewer-103d396720b416174932a951fcb5162127207925.tar.bz2 w-clock-viewer-103d396720b416174932a951fcb5162127207925.zip |
[1236661]Resolved Coverity issuetizen_7.0_m2_releasetizen_6.5.m2_releasesubmit/tizen_6.5/20211028.164101submit/tizen/20210622.112400accepted/tizen/unified/20210623.125305accepted/tizen/7.0/unified/hotfix/20221116.112118accepted/tizen/7.0/unified/20221110.060301accepted/tizen/6.5/unified/20211028.224701tizen_7.0_hotfixtizen_7.0tizen_6.5tizenaccepted/tizen_unifiedaccepted/tizen_7.0_unified_hotfixaccepted/tizen_7.0_unifiedaccepted/tizen_6.5_unified
Change-Id: Iff90f608454083d6d0983bf48b21f4f48a60723d
Signed-off-by: Amritanshu <a.pandia1@samsung.com>
-rwxr-xr-x[-rw-r--r--] | clock-viewer/src/clock-viewer-widget.c | 7 |
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); } |