فهرست منبع

Fixed bug in synchronization after adding new field to improve the check of changes in server

David A. Velasco 12 سال پیش
والد
کامیت
a08c92cf9a
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      src/com/owncloud/android/operations/SynchronizeFolderOperation.java

+ 1 - 0
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());
                     }