mNotificationManager.cancel(changedTask.getId());
Log.i(TAG, "Notification of task " + changedTask.getName() + " deleted (if existed). (id="+changedTask.getId()+")");
} else {
Log.i(TAG, "No alarm found for " + changedTask.getName() + " (alarm id: " + changedTask.getId() + ")");
}
<BUG>if(!changedTask.getDone())</BUG>
setAlarmForTask(changedTask);
}
public class ReminderServiceBinder extends Binder {
public ReminderService getService() {
return ReminderService.this;
}
}
}

mNotificationManager.cancel(changedTask.getId());
Log.i(TAG, "Notification of task " + changedTask.getName() + " deleted (if existed). (id="+changedTask.getId()+")");
} else {
Log.i(TAG, "No alarm found for " + changedTask.getName() + " (alarm id: " + changedTask.getId() + ")");
}
setAlarmForTask(changedTask);
}
public class ReminderServiceBinder extends Binder {
public ReminderService getService() {
