diff --git a/frameworks/reminder/src/reminder_request_calendar.cpp b/frameworks/reminder/src/reminder_request_calendar.cpp index 3ff66dd36555d77c1249e82d3bceaaeba754e556..d15eb73a4e39a808e24418755855048bd1024efc 100644 --- a/frameworks/reminder/src/reminder_request_calendar.cpp +++ b/frameworks/reminder/src/reminder_request_calendar.cpp @@ -813,6 +813,13 @@ void ReminderRequestCalendar::Copy(const sptr& other) SetActionButtons(other->GetActionButtons()); SetWantAgentInfo(other->GetWantAgentInfo()); SetAutoDeletedTime(other->GetAutoDeletedTime()); + SetTimeInterval(other->GetTimeInterval()); + SetSnoozeTimes(other->GetSnoozeTimes()); + SetRingDuration(other->GetRingDuration()); + SetSnoozeSlotType(other->GetSnoozeSlotType()); + SetSnoozeContent(other->GetSnoozeContent()); + SetExpiredContent(other->GetExpiredContent()); + SetCustomRingUri(other->GetCustomRingUri()); ReminderRequestCalendar* calendar = static_cast(other.GetRefPtr()); SetDateTime(calendar->GetDateTime()); SetEndDateTime(calendar->GetEndDateTime()); diff --git a/services/reminder/src/reminder_data_manager_inner.cpp b/services/reminder/src/reminder_data_manager_inner.cpp index 4ffacc9ac6c20a7b517ebffa0633af0df5ba1acf..d36cd1986390ce5901f79a037a49d426584d8366 100644 --- a/services/reminder/src/reminder_data_manager_inner.cpp +++ b/services/reminder/src/reminder_data_manager_inner.cpp @@ -396,7 +396,8 @@ void ReminderDataManager::ReportTimerEvent(const int64_t targetTime, const bool return; } uint8_t errorCode = isSysTimeChanged ? 0 : 1; - HiSysEventWrite(HiviewDFX::HiSysEvent::Domain::NOTIFICATION, event, HiviewDFX::HiSysEvent::EventType::STATISTIC, + HiSysEventWrite(HiviewDFX::HiSysEvent::Domain::NOTIFICATION, "REMINDER_TIMER_ERROR", + HiviewDFX::HiSysEvent::EventType::STATISTIC, "TARGET_TIME", targetTime, "TRIGGER_TIME", now, "ERROR_CODE", errorCode); #endif }