Fix a bug on aul_listen_app_launch_signal_v2 96/122096/1
authorSangyoon Jang <s89.jang@samsung.com>
Thu, 30 Mar 2017 07:23:33 +0000 (16:23 +0900)
committerSangyoon Jang <s89.jang@samsung.com>
Thu, 30 Mar 2017 07:23:33 +0000 (16:23 +0900)
Change-Id: I20b884a26b34dae29336996f23e0cf5c04174ff1
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
src/app_signal.c

index c273a85..7c9b758 100644 (file)
@@ -221,7 +221,7 @@ API int aul_listen_app_launch_signal_v2(int (*func)(int, const char *, void *),
                                        AUL_DBUS_APPLAUNCH_SIGNAL);
                if (app_launch_subscription_id2 == 0)
                        return AUL_R_ERROR;
-       } else if (app_launch_handler == NULL && app_launch_subscription_id2) {
+       } else if (app_launch_handler2 == NULL && app_launch_subscription_id2) {
                app_launch_subscription_id2 = __system_dbus_unregister_signal(
                                        app_launch_subscription_id2);
                if (app_launch_subscription_id2)