Reviewed values set to OCFile#mLastSyncDateForData
[pub/Android/ownCloud.git] / src / com / owncloud / android / files / services / FileUploader.java
index 87dc177..9676b93 100644 (file)
@@ -521,6 +521,7 @@ public class FileUploader extends Service implements OnDatatransferProgressListe
         if (localPath != null && localPath.length() > 0) {
             File localFile = new File(localPath);
             newFile.setFileLength(localFile.length());
+            newFile.setLastSyncDateForData(localFile.lastModified());
         }   // don't worry about not assigning size, the problems with localPath are checked when the UploadFileOperation instance is created
         
         // MIME type