|
|
@ -214,8 +214,10 @@ public class GoogleTaskSynchronizer {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
for (GoogleTaskList list : gtasksListService.getListsToUpdate(gtaskLists)) {
|
|
|
|
for (GoogleTaskList list : gtasksListService.getListsToUpdate(gtaskLists)) {
|
|
|
|
fetchAndApplyRemoteChanges(gtasksInvoker, list);
|
|
|
|
fetchAndApplyRemoteChanges(gtasksInvoker, list);
|
|
|
|
|
|
|
|
if (!preferences.isPositionHackEnabled()) {
|
|
|
|
googleTaskDao.reposition(list.getRemoteId());
|
|
|
|
googleTaskDao.reposition(list.getRemoteId());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
if (preferences.isPositionHackEnabled()) {
|
|
|
|
if (preferences.isPositionHackEnabled()) {
|
|
|
|
for (TaskList list : gtaskLists) {
|
|
|
|
for (TaskList list : gtaskLists) {
|
|
|
|
List<com.google.api.services.tasks.model.Task> tasks = fetchPositions(gtasksInvoker, list.getId());
|
|
|
|
List<com.google.api.services.tasks.model.Task> tasks = fetchPositions(gtasksInvoker, list.getId());
|
|
|
|