Explorar o código

Reset in policy of synchronization for full account: etag is ignored to decide if sync children folders

David A. Velasco %!s(int64=11) %!d(string=hai) anos
pai
achega
b919ef8438
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  1. 3 2
      src/com/owncloud/android/syncadapter/FileSyncAdapter.java

+ 3 - 2
src/com/owncloud/android/syncadapter/FileSyncAdapter.java

@@ -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
-                }
+                //}
             }
         }