OC-1701: Conflict detected in keep-in-sync

This commit is contained in:
masensio 2013-10-14 12:48:26 +02:00
parent 31ccf4e966
commit 98d95b576e

View file

@ -119,7 +119,7 @@ public class SynchronizeFileOperation extends RemoteOperation {
// TODO this will be always true after the app is upgraded to database version 2; will result in unnecessary uploads
/// decide action to perform depending upon changes
if (localChanged && serverChanged) {
if (!mLocalFile.getEtag().isEmpty() && localChanged && serverChanged) {
result = new RemoteOperationResult(ResultCode.SYNC_CONFLICT);
} else if (localChanged) {