int priv_id = 0;
struct appdata *ad = NULL;
notification_h noti_new = NULL;
- notification_h noti_from_master = NULL;
+ notification_h noti_from_primary = NULL;
notification_type_e noti_type = NOTIFICATION_TYPE_NONE;
int noti_applist = NOTIFICATION_DISPLAY_APP_ALL;
notification_ly_type_e noti_layout = NOTIFICATION_LY_NONE;
for (i = 0; i < num_op; i++) {
notification_op_get_data(op_list + i, NOTIFICATION_OP_DATA_TYPE, &op_type);
notification_op_get_data(op_list + i, NOTIFICATION_OP_DATA_PRIV_ID, &priv_id);
- notification_op_get_data(op_list + i, NOTIFICATION_OP_DATA_NOTI, ¬i_from_master);
+ notification_op_get_data(op_list + i, NOTIFICATION_OP_DATA_NOTI, ¬i_from_primary);
ERR("noti operation:%d privid:%d", op_type, priv_id);
switch (op_type) {
case NOTIFICATION_OP_INSERT:
DBG("NOTIFICATION_OP_INSERT");
- if (noti_from_master == NULL) {
- ERR("failed to get a notification from master");
+ if (noti_from_primary == NULL) {
+ ERR("failed to get a notification from primary");
continue;
}
- if (notification_clone(noti_from_master, ¬i_new) != NOTIFICATION_ERROR_NONE) {
+ if (notification_clone(noti_from_primary, ¬i_new) != NOTIFICATION_ERROR_NONE) {
ERR("failed to create a cloned notification");
continue;
}
_print_debuginfo_from_noti(noti_new);
- _set_current_notification(noti_from_master);
+ _set_current_notification(noti_from_primary);
#ifdef QP_EMERGENCY_MODE_ENABLE
if (quickpanel_emergency_mode_is_on()) {
DBG("Notification update priv_id[%d]", priv_id);
- if (noti_from_master == NULL) {
- ERR("failed to get a notification from master");
+ if (noti_from_primary == NULL) {
+ ERR("failed to get a notification from primary");
continue;
}
- if (notification_clone(noti_from_master, ¬i_new) != NOTIFICATION_ERROR_NONE) {
+ if (notification_clone(noti_from_primary, ¬i_new) != NOTIFICATION_ERROR_NONE) {
ERR("failed to create a cloned notification");
continue;
}
#endif
_print_debuginfo_from_noti(noti_new);
- _set_current_notification(noti_from_master);
+ _set_current_notification(noti_from_primary);
notification_get_layout(noti_new, ¬i_layout);