DownloadWorker: Always return success regardless of failure

The worker has done it's job properly, its a success. We have a separate database
to track download's status. This will also allow to chain downloads while not making
them inter-dependent.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
Aayush Gupta
2025-10-09 15:23:04 +08:00
parent 1453fa38ac
commit 0274027f4d

View File

@@ -236,7 +236,7 @@ class DownloadWorker @AssistedInject constructor(
// Remove all notifications
notificationManager.cancel(NOTIFICATION_ID)
return@withContext Result.failure()
return@withContext Result.success()
}
}