|
|
@ -359,10 +359,13 @@ public class TaskDao {
|
|
|
|
|
|
|
|
|
|
|
|
task.markSaved();
|
|
|
|
task.markSaved();
|
|
|
|
boolean completionDateModified = values.containsKey(Task.COMPLETION_DATE.name);
|
|
|
|
boolean completionDateModified = values.containsKey(Task.COMPLETION_DATE.name);
|
|
|
|
|
|
|
|
boolean deletionDateModified = values.containsKey(Task.DELETION_DATE.name);
|
|
|
|
if(completionDateModified && task.isCompleted()) {
|
|
|
|
if(completionDateModified && task.isCompleted()) {
|
|
|
|
afterComplete(task);
|
|
|
|
afterComplete(task);
|
|
|
|
|
|
|
|
} else if (deletionDateModified && task.isDeleted()) {
|
|
|
|
|
|
|
|
afterComplete(task);
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
if (completionDateModified) {
|
|
|
|
if (completionDateModified || deletionDateModified) {
|
|
|
|
geofenceService.setupGeofences(task.getId());
|
|
|
|
geofenceService.setupGeofences(task.getId());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if(values.containsKey(Task.DUE_DATE.name) ||
|
|
|
|
if(values.containsKey(Task.DUE_DATE.name) ||
|
|
|
|