|
|
@ -190,9 +190,10 @@ public final class GtasksSyncService {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//If task was newly created but without a title, don't sync--we're in the middle of
|
|
|
|
//If task was newly created but without a title, don't sync--we're in the middle of
|
|
|
|
//creating a task which may end up being cancelled
|
|
|
|
//creating a task which may end up being cancelled. Also don't sync new but already
|
|
|
|
|
|
|
|
//deleted tasks
|
|
|
|
if (newlyCreated &&
|
|
|
|
if (newlyCreated &&
|
|
|
|
(!values.containsKey(Task.TITLE.name) || TextUtils.isEmpty(task.getValue(Task.TITLE)))) {
|
|
|
|
(!values.containsKey(Task.TITLE.name) || TextUtils.isEmpty(task.getValue(Task.TITLE)) || task.getValue(Task.DELETION_DATE) > 0)) {
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|