From: David A. Velasco Date: Thu, 6 Dec 2012 13:02:09 +0000 (+0100) Subject: Fixed bug in synchronization after adding new field to improve the check of changes... X-Git-Tag: oc-android-1.4.3~79^2 X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/commitdiff_plain/a08c92cf9aa8b434dd3dca0e4125fbf351cf0663?ds=inline;hp=--cc Fixed bug in synchronization after adding new field to improve the check of changes in server --- a08c92cf9aa8b434dd3dca0e4125fbf351cf0663 diff --git a/src/com/owncloud/android/operations/SynchronizeFolderOperation.java b/src/com/owncloud/android/operations/SynchronizeFolderOperation.java index 151af4bc..271ea42e 100644 --- a/src/com/owncloud/android/operations/SynchronizeFolderOperation.java +++ b/src/com/owncloud/android/operations/SynchronizeFolderOperation.java @@ -164,6 +164,7 @@ public class SynchronizeFolderOperation extends RemoteOperation { if (oldFile != null) { file.setKeepInSync(oldFile.keepInSync()); file.setLastSyncDateForData(oldFile.getLastSyncDateForData()); + file.setModificationTimestampAtLastSyncForData(oldFile.getModificationTimestampAtLastSyncForData()); // not local, but must be kept unchanged when the file contents are not updated checkAndFixForeignStoragePath(oldFile); file.setStoragePath(oldFile.getStoragePath()); }