From: David A. Velasco Date: Thu, 24 Oct 2013 10:47:21 +0000 (+0200) Subject: Reset in policy of synchronization for full account: etag is ignored to decide if... X-Git-Tag: oc-android-1.5.5~155^2~1 X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/commitdiff_plain/b919ef8438e1eea964141fcf0c888461451ae269?ds=inline;hp=--cc Reset in policy of synchronization for full account: etag is ignored to decide if sync children folders --- b919ef8438e1eea964141fcf0c888461451ae269 diff --git a/src/com/owncloud/android/syncadapter/FileSyncAdapter.java b/src/com/owncloud/android/syncadapter/FileSyncAdapter.java index 8981672f..9204aa0c 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 - } + //} } }