Merge remote-tracking branch 'origin/refresh_folder_contents_when_browsed_into' into...
authorDavid A. Velasco <dvelasco@solidgear.es>
Mon, 14 Oct 2013 12:55:50 +0000 (14:55 +0200)
committerDavid A. Velasco <dvelasco@solidgear.es>
Mon, 14 Oct 2013 12:55:50 +0000 (14:55 +0200)
src/com/owncloud/android/operations/SynchronizeFileOperation.java

index 7610e37..ea115f1 100644 (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) {