From 8ea5aacad5403084fa778150533915221c1c2bb6 Mon Sep 17 00:00:00 2001 From: Myungki Lee Date: Thu, 22 Dec 2016 18:09:36 +0900 Subject: [PATCH] Fix the wrong behavior of update_setting Change-Id: I5423d01fcab9d76c6be5233e6a591ec01953bee5 Signed-off-by: Myungki Lee --- src/notification_ipc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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"); -- 2.34.1