Noti: add PROFILE_MOBILE for event noti 37/170037/1 accepted/tizen/unified/20180220.130020 submit/tizen/20180220.062815 submit/tizen/20180220.062946
authorlokilee73 <changjoo.lee@samsung.com>
Tue, 13 Feb 2018 04:49:42 +0000 (13:49 +0900)
committerlokilee73 <changjoo.lee@samsung.com>
Tue, 13 Feb 2018 05:00:05 +0000 (14:00 +0900)
Change-Id: I336ffac914913bb0a2d250138572d414631dd0fe
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
src/launcher/noti.c

index 3120b56..9624d51 100755 (executable)
@@ -899,8 +899,12 @@ DBusMessage *activate_notification_no_param(E_DBus_Object *obj, DBusMessage *msg
        int priv_id;
 
        _D("Load notification");
-
+// event noti should be supported in mobile profile only
+#ifdef PROFILE_MOBILE
        priv_id = launch_notification_no_param_by_type(type);
+#else
+       priv_id = -1;
+#endif
        if (priv_id < 0)
                _E("FAIL: launch_noti_by_type()");