Download: Fix an issue that download percentage can move backwards.
On certain Android devices, when disconnecting from WIFI, the network code will report NETWORK_TIMEOUT before NETWORK_DISCONNECT and trigger auto download resumption. And we erase the data downloaded by parallel requests, so the download percentage will go backwards. Instead, we should keep the slice info when resume with an error. Bug: 837128 Change-Id: I002c69ac4d5e1c33133e4dbddd44c3c5173a494e Reviewed-on: https://chromium-review.googlesource.com/1112754Reviewed-by:David Trainor <dtrainor@chromium.org> Reviewed-by:
Min Qin <qinmin@chromium.org> Commit-Queue: Xing Liu <xingliu@chromium.org> Cr-Commit-Position: refs/heads/master@{#571286}
Showing
Please register or sign in to comment