mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 17:46:37 +03:00
Full-account synchronization should never fetch the contents of a folder
if its eTag did not change
This commit is contained in:
parent
a2c91af7f5
commit
ee6f2e7217
2 changed files with 6 additions and 6 deletions
|
@ -121,14 +121,14 @@ public class SynchronizeFolderOperation extends RemoteOperation {
|
||||||
/**
|
/**
|
||||||
* Creates a new instance of {@link SynchronizeFolderOperation}.
|
* Creates a new instance of {@link SynchronizeFolderOperation}.
|
||||||
*
|
*
|
||||||
* @param remoteFolderPath Remote folder to synchronize.
|
* @param folder Folder to synchronize.
|
||||||
* @param currentSyncTime Time stamp for the synchronization process in progress.
|
* @param currentSyncTime Time stamp for the synchronization process in progress.
|
||||||
* @param localFolderId Identifier in the local database of the folder
|
|
||||||
* to synchronize.
|
|
||||||
* @param updateFolderProperties 'True' means that the properties of the folder should
|
|
||||||
* be updated also, not just its content.
|
|
||||||
* @param syncFullAccount 'True' means that this operation is part of a full account
|
* @param syncFullAccount 'True' means that this operation is part of a full account
|
||||||
* synchronization.
|
* synchronization.
|
||||||
|
* @param isShareSupported 'True' means that the server supports the sharing API.
|
||||||
|
* @param ignoreEtag 'True' means that the content of the remote folder should
|
||||||
|
* be fetched and updated even though the 'eTag' did not
|
||||||
|
* change.
|
||||||
* @param dataStorageManager Interface with the local database.
|
* @param dataStorageManager Interface with the local database.
|
||||||
* @param account ownCloud account where the folder is located.
|
* @param account ownCloud account where the folder is located.
|
||||||
* @param context Application context.
|
* @param context Application context.
|
||||||
|
|
|
@ -264,7 +264,7 @@ public class FileSyncAdapter extends AbstractOwnCloudSyncAdapter {
|
||||||
mCurrentSyncTime,
|
mCurrentSyncTime,
|
||||||
true,
|
true,
|
||||||
mIsShareSupported,
|
mIsShareSupported,
|
||||||
true,
|
false,
|
||||||
getStorageManager(),
|
getStorageManager(),
|
||||||
getAccount(),
|
getAccount(),
|
||||||
getContext()
|
getContext()
|
||||||
|
|
Loading…
Reference in a new issue