Currently I use temporary urls for download. When url expires I receive code 403, but from download manager I get 'WAITING_FOR_NETWORK', like when internet is off.
After some debugging I noticed that in DownloadBatch.shouldAbortAfterGettingTotalBatchSize totalBatchSizeBytes is 0, which is then considered network error.
Hi,
Currently I use temporary urls for download. When url expires I receive code 403, but from download manager I get 'WAITING_FOR_NETWORK', like when internet is off.
After some debugging I noticed that in DownloadBatch.shouldAbortAfterGettingTotalBatchSize totalBatchSizeBytes is 0, which is then considered network error.