Browse Source

Fixed crash in synchronization of kept-in-sync files triggered by browsing

David A. Velasco 11 years ago
parent
commit
195256194e

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

@@ -94,7 +94,7 @@ public class SynchronizeFileOperation extends RemoteOperation {
                 }
                 }
             }
             }
 
 
-            if (result.isSuccess()) {   
+            if (mServerFile != null) {   
 
 
                 /// check changes in server and local file
                 /// check changes in server and local file
                 boolean serverChanged = false;
                 boolean serverChanged = false;