From: Myungki Lee Date: Thu, 22 Dec 2016 09:09:36 +0000 (+0900) Subject: Fix the wrong behavior of update_setting X-Git-Tag: submit/tizen_3.0/20161222.111552^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Ftizen_3.0.m2;p=platform%2Fcore%2Fapi%2Fnotification.git Fix the wrong behavior of update_setting Change-Id: I5423d01fcab9d76c6be5233e6a591ec01953bee5 Signed-off-by: Myungki Lee --- diff --git a/src/notification_ipc.c b/src/notification_ipc.c index c568ff1a..fd9389b3 100755 --- a/src/notification_ipc.c +++ b/src/notification_ipc.c @@ -1397,7 +1397,7 @@ int notification_ipc_update_setting(notification_setting_h setting, uid_t uid) return result; } - body = g_variant_new("(ssiiiiiii)", + body = g_variant_new("(ssiiiiii)", setting->package_name, setting->appid, (int)(setting->allow_to_notify), @@ -1405,7 +1405,6 @@ int notification_ipc_update_setting(notification_setting_h setting, uid_t uid) (int)(setting->visibility_class), (int)(setting->pop_up_notification), (int)(setting->lock_screen_content_level), - (int)(setting->app_disabled), uid); result = _send_sync_noti(body, &reply, "update_noti_setting");