From: Sung-jae Park Date: Fri, 10 May 2013 05:24:27 +0000 (+0900) Subject: Add CLICKED time for estimating launching time. X-Git-Tag: submit/tizen_mobile/20150527.071719~1^2~30^2~14^2~68^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c656826f0dcb5c6514efc8ef12dab6a6e9a7d710;p=platform%2Fcore%2Fappfw%2Fwidget-viewer.git Add CLICKED time for estimating launching time. Change-Id: I7c3db12a63da36eab212c709ad2b9b4d48f6c725 --- diff --git a/packaging/liblivebox-viewer.spec b/packaging/liblivebox-viewer.spec index f9f0239..16b9a0f 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.13.1 +Version: 0.13.2 Release: 1 Group: HomeTF/Livebox License: Flora License diff --git a/src/livebox.c b/src/livebox.c index 0ceae6f..19fc458 100644 --- a/src/livebox.c +++ b/src/livebox.c @@ -1087,6 +1087,9 @@ EAPI int livebox_click(struct livebox *handler, double x, double y) double timestamp; int ret; + timestamp = util_timestamp(); + DbgPrint("CLICKED: %lf\n", timestamp); + if (!handler) { ErrPrint("Handler is NIL\n"); return LB_STATUS_ERROR_INVALID; @@ -1103,7 +1106,6 @@ EAPI int livebox_click(struct livebox *handler, double x, double y) 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); if (!packet) { ErrPrint("Failed to build param\n");