notification_type_e type = NOTIFICATION_TYPE_NONE;
notification_ly_type_e ly_type = NOTIFICATION_LY_NONE;
bool ongoing_flag = false;
+ int flag = 0;
notification_get_type(noti, &type);
notification_get_layout(noti, &ly_type);
notification_get_ongoing_flag(noti, &ongoing_flag);
+ notification_get_property(noti, &flag);
+ DBG("Notification property type [%d]", flag);
if ((type == NOTIFICATION_TYPE_ONGOING && ongoing_flag) ||
- (type == NOTIFICATION_TYPE_ONGOING && ly_type == NOTIFICATION_LY_ONGOING_PROGRESS))
+ (type == NOTIFICATION_TYPE_ONGOING && ly_type == NOTIFICATION_LY_ONGOING_PROGRESS) ||
+ (type == NOTIFICATION_TYPE_ONGOING && flag == NOTIFICATION_PROP_PERMANENT_DISPLAY)) //Required by org.tizen.firmware-update-ui app to freeze the notification
return 0;
return 1;
if (list_head != NULL)
notification_free_list(list_head);
-
if (ongoing_cnt == 0 && quickpanel_noti_node_get_item_count(s_info.noti_node, NOTIFICATION_TYPE_NOTI) <= 0) {
INFO("NOTI SECTION CLEAR ALL DISABLE");
quickpanel_noti_section_update_clear_button_state(EINA_TRUE);