mirror of
https://github.com/nextcloud/android.git
synced 2024-11-28 02:17:43 +03:00
Reviewed values set to OCFile#mLastSyncDateForData
This commit is contained in:
parent
9c3dc6d850
commit
db0e2d0186
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue