Don't ignore random reminders on due date

pull/820/head
Alex Baker 6 years ago
parent cb955f0d37
commit 431657397b

@ -97,11 +97,6 @@ public final class ReminderService {
// notifications after due date // notifications after due date
long whenOverdue = calculateNextOverdueReminder(task); long whenOverdue = calculateNextOverdueReminder(task);
// if random reminders are too close to due date, favor due date
if (whenRandom != NO_ALARM && whenDueDate - whenRandom < DateUtilities.ONE_DAY) {
whenRandom = NO_ALARM;
}
// snooze trumps all // snooze trumps all
if (whenSnooze != NO_ALARM) { if (whenSnooze != NO_ALARM) {
return new ReminderEntry(taskId, whenSnooze, TYPE_SNOOZE); return new ReminderEntry(taskId, whenSnooze, TYPE_SNOOZE);

Loading…
Cancel
Save