Tizen 2.4 SDK Rev6 Release accepted/tizen_2.4_mobile tizen_2.4 accepted/tizen/2.4/mobile/20160530.220336 submit/tizen_2.4/20160530.023159
authorJaekyu Park <jk7744.park@samsung.com>
Fri, 27 May 2016 08:03:54 +0000 (17:03 +0900)
committerJaekyu Park <jk7744.park@samsung.com>
Fri, 27 May 2016 08:03:54 +0000 (17:03 +0900)
process_pool/launchpad.c
process_pool/sigchild.h

index 6b19d55..601bdad 100755 (executable)
@@ -532,7 +532,7 @@ end:
 
        if (pid > 0) {
                if (is_real_launch)
-                       __send_app_launch_signal(pid);
+                       __send_app_launch_signal(pid, pkg_name);
        }
 
        if (menu_info != NULL)
index b7e0538..8b12b3b 100644 (file)
@@ -92,7 +92,7 @@ static inline int __send_app_dead_signal(int dead_pid)
        return 0;
 }
 
-static inline int __send_app_launch_signal(int launch_pid)
+static inline int __send_app_launch_signal(int launch_pid, const char *app_id)
 {
        DBusConnection *bus;
        DBusMessage *message;
@@ -112,8 +112,9 @@ static inline int __send_app_launch_signal(int launch_pid)
                                          AUL_DBUS_APPLAUNCH_SIGNAL);
 
        if (dbus_message_append_args(message,
-                                    DBUS_TYPE_UINT32, &launch_pid,
-                                    DBUS_TYPE_INVALID) == FALSE) {
+                               DBUS_TYPE_UINT32, &launch_pid,
+                               DBUS_TYPE_STRING, &app_id,
+                               DBUS_TYPE_INVALID) == FALSE) {
                _E("Failed to load data error");
                return -1;
        }