Add CLICKED time for estimating launching time.
authorSung-jae Park <nicesj.park@samsung.com>
Fri, 10 May 2013 05:24:27 +0000 (14:24 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Fri, 10 May 2013 05:24:27 +0000 (14:24 +0900)
Change-Id: I7c3db12a63da36eab212c709ad2b9b4d48f6c725

packaging/liblivebox-viewer.spec
src/livebox.c

index f9f0239..16b9a0f 100644 (file)
@@ -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
index 0ceae6f..19fc458 100644 (file)
@@ -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");