Fixed crash in synchronization of kept-in-sync files triggered by browsing
authorDavid A. Velasco <dvelasco@solidgear.es>
Thu, 23 Jan 2014 11:37:01 +0000 (12:37 +0100)
committerDavid A. Velasco <dvelasco@solidgear.es>
Thu, 23 Jan 2014 11:37:01 +0000 (12:37 +0100)
src/com/owncloud/android/operations/SynchronizeFileOperation.java

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