소스 검색

Detect conflict when local and server version are changed

masensio 9 년 전
부모
커밋
3444d61be8
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/com/owncloud/android/operations/SynchronizeFolderOperation.java

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

@@ -404,7 +404,7 @@ public class SynchronizeFolderOperation extends SyncOperation {
                     /// this should result in direct upload of files that were locally modified
                     SynchronizeFileOperation operation = new SynchronizeFileOperation(
                             child,
-                            (child.getEtagInConflict() != null ? null : child),
+                            (child.getEtagInConflict() != null ? child : null),
                             mAccount,
                             true,
                             mContext