Эх сурвалжийг харах

Fixed bug preventing that right modification time is saved in downloads

David A. Velasco 11 жил өмнө
parent
commit
d3ad9a4482

+ 1 - 0
src/com/owncloud/android/operations/DownloadFileOperation.java

@@ -137,6 +137,7 @@ public class DownloadFileOperation extends RemoteOperation {
         result = mDownloadOperation.execute(client);
         
         if (result.isSuccess()) {
+            mModificationTimestamp = mDownloadOperation.getModificationTimestamp();
             newFile = new File(getSavePath());
             newFile.getParentFile().mkdirs();
             moved = tmpFile.renameTo(newFile);