Commit Graph

4 Commits

Author SHA1 Message Date
Rahul Patel
330762d86d DownloadWorker: more work 2025-03-07 18:24:10 +05:30
Aayush Gupta
00532f200e DownloadWorker: Better handle individual file progress updates
* Don't filter InputStream updates as we are already guarding UI updates against total progress
* Update downloadedBytes based on bytesCopied to reflect real progress
* Use collect instead of collectLatest to ensure all updates from flow are handled

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-05-06 13:01:05 +05:30
Aayush Gupta
0f4021117f DownloadWorker: Progress improvements
* Handle split apk download progress
* Also share download speed and time remaining

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-11-29 18:59:17 +05:30
Aayush Gupta
6f707b2a37 DownloadWorker: Initial implementation
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-11-29 18:59:17 +05:30