From b919ef8438e1eea964141fcf0c888461451ae269 Mon Sep 17 00:00:00 2001 From: "David A. Velasco" Date: Thu, 24 Oct 2013 12:47:21 +0200 Subject: [PATCH] Reset in policy of synchronization for full account: etag is ignored to decide if sync children folders --- src/com/owncloud/android/syncadapter/FileSyncAdapter.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/com/owncloud/android/syncadapter/FileSyncAdapter.java b/src/com/owncloud/android/syncadapter/FileSyncAdapter.java index 8981672fe6..9204aa0c51 100644 --- a/src/com/owncloud/android/syncadapter/FileSyncAdapter.java +++ b/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 - } + //} } }