Reviewed values set to OCFile#mLastSyncDateForData

This commit is contained in:
David A. Velasco 2012-11-21 08:54:15 +01:00
parent 9c3dc6d850
commit db0e2d0186

View 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