From: Sung-jae Park Date: Tue, 16 Apr 2013 01:18:05 +0000 (+0900) Subject: Replace the aul_open with aul_launch X-Git-Tag: submit/tizen_mobile/20150527.071719~1^2~30^2~14^2~73^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=49e77f92635a2c8c7f526e575b22f2a089c5b97d;p=platform%2Fcore%2Fappfw%2Fwidget-viewer.git Replace the aul_open with aul_launch To keep the consistency of launching an application with Web. Change-Id: I49f939e10aa4414a59c96356108ed68dd372213f --- diff --git a/packaging/liblivebox-viewer.spec b/packaging/liblivebox-viewer.spec index 1a27502..eea2090 100644 --- a/packaging/liblivebox-viewer.spec +++ b/packaging/liblivebox-viewer.spec @@ -1,6 +1,6 @@ Name: liblivebox-viewer Summary: Library for developing the application. -Version: 0.12.3 +Version: 0.12.4 Release: 1 Group: HomeTF/Livebox License: Flora License diff --git a/src/livebox.c b/src/livebox.c index c2ef6f7..6129bd0 100644 --- a/src/livebox.c +++ b/src/livebox.c @@ -1097,9 +1097,11 @@ EAPI int livebox_click(struct livebox *handler, double x, double y) return LB_STATUS_ERROR_INVALID; } - if (handler->lb.auto_launch) - if (aul_open_app(handler->lb.auto_launch) < 0) + if (handler->lb.auto_launch) { + DbgPrint("Auto-launch enabled: %s\n", handler->lb.auto_launch); + if (aul_launch_app(handler->lb.auto_launch, NULL) < 0) ErrPrint("Failed to launch app %s\n", handler->lb.auto_launch); + } timestamp = util_timestamp(); packet = packet_create_noack("clicked", "sssddd", handler->pkgname, handler->id, "clicked", timestamp, x, y);