Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed: Input dispatching timed out at `DownloadMonitorService.cancelD…
…ownload`. * Moved the cancel download logic to the IO thread, ensuring that download-related tasks are performed on the IO thread while keeping the main thread free. * Also moved the functionality to the IO thread for checking the status when we receive the ACTION_DOWNLOAD_COMPLETE broadcast from DownloadManager, to determine if the download was successful or canceled. This ensures it doesn't block the main thread, as cancelDownload is currently causing a blockage.
- Loading branch information