瀏覽代碼

Merge remote-tracking branch 'origin/refresh_folder_contents_when_browsed_into' into refresh_folder_contents_when_browsed_into

David A. Velasco 11 年之前
父節點
當前提交
47b7a164de
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/com/owncloud/android/operations/SynchronizeFileOperation.java

+ 1 - 1
src/com/owncloud/android/operations/SynchronizeFileOperation.java

@@ -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) {