We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ade56f commit 606b787Copy full SHA for 606b787
opencloudApp/src/main/java/eu/opencloud/android/workers/UploadFileFromFileSystemWorker.kt
@@ -341,7 +341,6 @@ class UploadFileFromFileSystemWorker(
341
if (this.isStopped) {
342
Timber.w("Cancelling TUS upload. The worker is stopped by user or system")
343
tusUploadHelper.cancel()
344
- foregroundJob.cancel()
345
}
346
347
if (totalSize <= 0) return
@@ -470,7 +469,6 @@ class UploadFileFromFileSystemWorker(
470
469
uploadFileOperation.cancel()
471
uploadFileOperation.removeDataTransferProgressListener(this)
472
473
474
475
476
val percent: Int = (100.0 * totalTransferredSoFar.toDouble() / totalToTransfer.toDouble()).toInt()
0 commit comments