mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 23:28:42 +03:00
Reset in policy of synchronization for full account: etag is ignored to decide if sync children folders
This commit is contained in:
parent
7eb82162b1
commit
b919ef8438
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
//}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue