Commit 7a6e1c2
zerox80
fix: update retry logic for cancelled file uploads
- Changed shouldRetry behavior to retry uploads when CancellationException occurs instead of failing
- Updated logic in both UploadFileFromContentUriWorker and UploadFileFromFileSystemWorker
- This ensures upload tasks can recover from temporary cancellations rather than failing permanently1 parent de12483 commit 7a6e1c2
File tree
2 files changed
+2
-2
lines changed- opencloudApp/src/main/java/eu/opencloud/android/workers
2 files changed
+2
-2
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
382 | 382 | | |
383 | 383 | | |
384 | 384 | | |
385 | | - | |
| 385 | + | |
386 | 386 | | |
387 | 387 | | |
388 | 388 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
359 | 359 | | |
360 | 360 | | |
361 | 361 | | |
362 | | - | |
| 362 | + | |
363 | 363 | | |
364 | 364 | | |
365 | 365 | | |
| |||
0 commit comments