Reset in policy of synchronization for full account: etag is ignored to decide if...
authorDavid A. Velasco <dvelasco@solidgear.es>
Thu, 24 Oct 2013 10:47:21 +0000 (12:47 +0200)
committerDavid A. Velasco <dvelasco@solidgear.es>
Thu, 24 Oct 2013 10:47:21 +0000 (12:47 +0200)
src/com/owncloud/android/syncadapter/FileSyncAdapter.java

index 8981672..9204aa0 100644 (file)
@@ -315,14 +315,15 @@ public class FileSyncAdapter extends AbstractOwnCloudSyncAdapter {
         for (i=0; i < files.size() && !mCancellation; i++) {
             newFile = files.get(i);
             if (newFile.isFolder()) {
+                /*
                 etag = newFile.getEtag();
                 syncDown = (parentEtagChanged || etag == null || etag.length() == 0);
-                if(syncDown) {
+                if(syncDown) { */
                     synchronizeFolder(newFile);
                     // update the size of the parent folder again after recursive synchronization 
                     //getStorageManager().updateFolderSize(parent.getFileId());  
                     sendStickyBroadcast(true, parent.getRemotePath(), null);        // notify again to refresh size in UI
-                }
+                //}
             }
         }