Gtasks sync on save should push a re-fetched model

pull/14/head
Tim Su 13 years ago
parent 6c2bb8470d
commit ac3fc60be1

@ -76,6 +76,11 @@ public class GtasksListService {
}
}
/**
* Reads in remote list information and updates local list objects.
*
* @param remoteLists remote information about your lists
*/
@SuppressWarnings("nls")
public synchronized void updateLists(TaskLists remoteLists) {
readLists();

@ -103,7 +103,8 @@ public final class GtasksSyncService {
if (!checkValuesForProperties(setValues, TASK_PROPERTIES)) //None of the properties we sync were updated
return;
operationQueue.offer(new TaskPushOp((Task)model.clone()));
Task toPush = taskDao.fetch(model.getId(), TASK_PROPERTIES);
operationQueue.offer(new TaskPushOp(toPush));
}
});
}

Loading…
Cancel
Save