Improve DownloadFileOperation#17099
Conversation
|
APK file: https://github.com/nextcloud/android/actions/runs/26567296559/artifacts/7263265310 |
f1f73ad to
b468b11
Compare
|
APK file: https://github.com/nextcloud/android/actions/runs/27261334268/artifacts/7529683041 |
| Log_OC.d(TAG, "trying to move: $tempFilePath to $newFilePath") | ||
|
|
||
| return try { | ||
| Files.move(tempFilePath, newFilePath, StandardCopyOption.REPLACE_EXISTING) |
| Log_OC.d(TAG, "trying to move: $tempFilePath to $newFilePath") | ||
|
|
||
| return try { | ||
| Files.move(tempFilePath, newFilePath, StandardCopyOption.REPLACE_EXISTING) |
|
|
||
| return try { | ||
| Files.move(tempFilePath, newFilePath, StandardCopyOption.REPLACE_EXISTING) | ||
| newFile.setLastModified(file.modificationTimestamp) |
| currentResult: RemoteOperationResult<Unit> | ||
| ): RemoteOperationResult<Unit> { | ||
| FileExportUtils().exportFile(file.fileName, file.mimeType, operationContext.contentResolver, null, tmpFile) | ||
| if (!tmpFile.delete()) Log_OC.e(TAG, "Deletion of ${tmpFile.absolutePath} failed!") |
b468b11 to
2afd038
Compare
|
APK file: https://github.com/nextcloud/android/actions/runs/28077314929/artifacts/7840968657 |
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
85e25ee to
955310b
Compare
|
APK file: https://github.com/nextcloud/android/actions/runs/28087439054/artifacts/7845020086 |
|
blue-Light-Screenshot test failed, but no output was generated. Maybe a preliminary stage failed. |
Changes