#include <libintl.h>
#include <package_manager.h>
#include <system_settings.h>
+#include <assert.h>
#include "do-not-disturb-efl.h"
#include "pkgmgr-setting-info.h"
#include "excepted-apps-efl.h"
NOTISET_TRACE_BEGIN;
ug_data *ug_main = calloc(1, sizeof(ug_data));
+ if(!ug_main)
+ {
+ NOTISET_ERR("CALLOC ERROR");
+ ug_main = NULL;
+ assert(false);
+ }
set_app_ui_data(ug_main);
remove_apps_noti_allowed_list();
remove_apps_noti_blocked_list();
setting_info = calloc(1, sizeof(setting_info_s));
+ ret_if(!setting_info);
notification_setting_get_setting_array(&setting_array, &count);
ret_if(!setting_array);
remove_excepted_apps_list();
setting_info = calloc(1, sizeof(setting_info_s));
+ ret_if(!setting_info);
notification_setting_get_setting_array(&setting_array, &count);
ret_if(!setting_array);
remove_lower_noti_list();
setting_info = calloc(1, sizeof(setting_info_s));
+ ret_if(!setting_info);
item_info_s *item_info = NULL;
item_info = calloc(1, sizeof(item_info_s));
+ ret_if(!item_info);
item_info->name = strdup(APP_STRING("IDS_QP_OPT_SHOW_ALL_CONTENT_ABB"));
setting_info->lower_noti_list = eina_list_append(setting_info->lower_noti_list, item_info);
item_info = calloc(1, sizeof(item_info_s));
+ ret_if(!item_info);
item_info->name = strdup(APP_STRING("IDS_QP_OPT_HIDE_SENSITIVE_CONTENT_ABB"));
setting_info->lower_noti_list = eina_list_append(setting_info->lower_noti_list, item_info);
item_info = calloc(1, sizeof(item_info_s));
+ ret_if(!item_info);
item_info->name = strdup(APP_STRING("IDS_QP_OPT_DONT_SHOW_NOTIFICATIONS_ABB"));
setting_info->lower_noti_list = eina_list_append(setting_info->lower_noti_list, item_info);
NOTISET_TRACE_BEGIN;