|
|
|
@ -84,11 +84,14 @@ class TaskCompleter @Inject internal constructor(
|
|
|
|
|
|
|
|
|
|
|
|
if (caldavDao.getAccountForTask(task.id)?.isSuppressRepeatingTasks != true) {
|
|
|
|
if (caldavDao.getAccountForTask(task.id)?.isSuppressRepeatingTasks != true) {
|
|
|
|
repeatTaskHelper.handleRepeat(task)
|
|
|
|
repeatTaskHelper.handleRepeat(task)
|
|
|
|
|
|
|
|
if (task.completionDate == 0L) {
|
|
|
|
|
|
|
|
// un-complete children
|
|
|
|
setComplete(task, false)
|
|
|
|
setComplete(task, false)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
if (completed && notificationManager.currentInterruptionFilter == INTERRUPTION_FILTER_ALL) {
|
|
|
|
if (completed && notificationManager.currentInterruptionFilter == INTERRUPTION_FILTER_ALL) {
|
|
|
|
preferences
|
|
|
|
preferences
|
|
|
|
.completionSound
|
|
|
|
.completionSound
|
|
|
|
|