setting_info_s *setting_info = NULL;
#define PHONE_PACKAGE "org.tizen.phone"
-#define CALENDAR_PACKAGE "org.tizen.calendar"
#define MESSAGES_PACKAGE "org.tizen.message"
-#define CLOCK_PACKAGE "org.tizen.clock"
Eina_Bool create_app_notification_list()
{
EINA_LIST_FOREACH(not_excepted_list, l, data) {
item_info_s *item_info = (item_info_s*) data;
- if (!strcmp(item_info->package_id, CALENDAR_PACKAGE)) {
- FREEIF(item_info->name);
- item_info->name = strdup(APP_STRING("IDS_COM_BODY_CALENDAR_EVENTS"));
- }
- if (!strcmp(item_info->package_id, CLOCK_PACKAGE)) {
- FREEIF(item_info->name);
- item_info->name = strdup(APP_STRING("IDS_ST_BODY_ALARMS"));
- }
if (item_info->name && strcmp(item_info->package_id, PHONE_PACKAGE)) {
- if ((item_info->allow_to_notify && !strcmp(item_info->package_id, MESSAGES_PACKAGE))
- || !strcmp(item_info->package_id, CLOCK_PACKAGE)
- || !strcmp(item_info->package_id, CALENDAR_PACKAGE)) {
+ if ((item_info->allow_to_notify && !strcmp(item_info->package_id, MESSAGES_PACKAGE))) {
setting_info->first_allowed_list = eina_list_append(setting_info->first_allowed_list, item_info);
if (item_info->do_not_disturb_except) {
setting_info->first_excepted_list = eina_list_append(setting_info->first_excepted_list, item_info);
}
}
- if (item_info->allow_to_notify && strcmp(item_info->package_id, MESSAGES_PACKAGE)
- && strcmp(item_info->package_id, CALENDAR_PACKAGE)
- && strcmp(item_info->package_id, CLOCK_PACKAGE)) {
+ if (item_info->allow_to_notify && strcmp(item_info->package_id, MESSAGES_PACKAGE)) {
if (item_info->do_not_disturb_except) {
setting_info->excepted_list = eina_list_append(setting_info->excepted_list, item_info);
} else {