From a08c92cf9aa8b434dd3dca0e4125fbf351cf0663 Mon Sep 17 00:00:00 2001 From: "David A. Velasco" Date: Thu, 6 Dec 2012 14:02:09 +0100 Subject: [PATCH] Fixed bug in synchronization after adding new field to improve the check of changes in server --- src/com/owncloud/android/operations/SynchronizeFolderOperation.java | 1 + 1 file changed, 1 insertion(+) 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()); } -- 2.11.0