Replace the aul_open with aul_launch
authorSung-jae Park <nicesj.park@samsung.com>
Tue, 16 Apr 2013 01:18:05 +0000 (10:18 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Tue, 16 Apr 2013 01:18:05 +0000 (10:18 +0900)
To keep the consistency of launching an application with Web.

Change-Id: I49f939e10aa4414a59c96356108ed68dd372213f

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

index 1a27502..eea2090 100644 (file)
@@ -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
index c2ef6f7..6129bd0 100644 (file)
@@ -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);