diff --git a/app/src/main/java/org/tasks/jobs/WorkManager.java b/app/src/main/java/org/tasks/jobs/WorkManager.java index 33c931b82..19be3ffb2 100644 --- a/app/src/main/java/org/tasks/jobs/WorkManager.java +++ b/app/src/main/java/org/tasks/jobs/WorkManager.java @@ -170,6 +170,8 @@ public class WorkManager { @SuppressWarnings("WeakerAccess") public void scheduleNotification(long time) { + time = Math.max(now(), time); + if (time < currentTimeMillis()) { Intent intent = getNotificationIntent(); if (atLeastOreo()) {