wasn't able to set lastNotified previously, now we do a better job of it

pull/14/head
Tim Su 16 years ago
parent 027e943213
commit 969472bdf9

@ -112,7 +112,7 @@ public class Notifications extends BroadcastReceiver {
public boolean showTaskNotification(long id, int type, String reminder) { public boolean showTaskNotification(long id, int type, String reminder) {
Task task; Task task;
try { try {
task = taskDao.fetch(id, Task.TITLE, Task.HIDE_UNTIL, Task.COMPLETION_DATE, task = taskDao.fetch(id, Task.ID, Task.TITLE, Task.HIDE_UNTIL, Task.COMPLETION_DATE,
Task.DELETION_DATE, Task.REMINDER_FLAGS); Task.DELETION_DATE, Task.REMINDER_FLAGS);
if(task == null) if(task == null)
throw new IllegalArgumentException("cound not find item with id"); //$NON-NLS-1$ throw new IllegalArgumentException("cound not find item with id"); //$NON-NLS-1$

Loading…
Cancel
Save