We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 720b7f5 commit 8ade56fCopy full SHA for 8ade56f
opencloudApp/src/main/java/eu/opencloud/android/workers/UploadFileFromContentUriWorker.kt
@@ -364,7 +364,6 @@ class UploadFileFromContentUriWorker(
364
if (this.isStopped) {
365
Timber.w("Cancelling TUS upload. The worker is stopped by user or system")
366
tusUploadHelper.cancel()
367
- foregroundJob.cancel()
368
}
369
370
if (totalSize <= 0) return
@@ -465,7 +464,6 @@ class UploadFileFromContentUriWorker(
465
464
uploadFileOperation.cancel()
466
uploadFileOperation.removeDataTransferProgressListener(this)
467
468
469
470
471
val percent: Int = (100.0 * totalTransferredSoFar.toDouble() / totalToTransfer.toDouble()).toInt()
0 commit comments