I believe the parenthesization of this if statement was wrong, leading to some notifications never appearing

pull/14/head
Joshua Gross 14 years ago
parent 042f393c8f
commit 6485e8c3a3

@ -140,7 +140,7 @@ public class Notifications extends BroadcastReceiver {
// task due date was changed, but alarm wasn't rescheduled // task due date was changed, but alarm wasn't rescheduled
if((type == ReminderService.TYPE_DUE || type == ReminderService.TYPE_OVERDUE) && if((type == ReminderService.TYPE_DUE || type == ReminderService.TYPE_OVERDUE) &&
!task.hasDueDate() || task.getValue(Task.DUE_DATE) > DateUtilities.now()) (!task.hasDueDate() || task.getValue(Task.DUE_DATE) > DateUtilities.now())) // test
return true; return true;
// read properties // read properties

Loading…
Cancel
Save