From: lokilee73 Date: Tue, 13 Feb 2018 04:49:42 +0000 (+0900) Subject: Noti: add PROFILE_MOBILE for event noti X-Git-Tag: accepted/tizen/unified/20180220.130020^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a08424a763b853a307b6df5db2d917d1dcaa3209;p=platform%2Fcore%2Fsystem%2Fsystem-popup.git Noti: add PROFILE_MOBILE for event noti Change-Id: I336ffac914913bb0a2d250138572d414631dd0fe Signed-off-by: lokilee73 --- diff --git a/src/launcher/noti.c b/src/launcher/noti.c index 3120b56..9624d51 100755 --- a/src/launcher/noti.c +++ b/src/launcher/noti.c @@ -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()");