Send updates for FAILED downloads only once
When download offline content provider is enabled, we send redundant FAILED updates. However the notification layer removes it from the shared preferences the first time it sees a FAILED download. Hence it will result in two different notifications. The solution is to treat COMPLETED and FAILED as terminal downloads and filter out duplicate updates for them. Bug: 1003550 Change-Id: Ief7c4450d644259352d3626e4f9dbd7b15362091 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1801228 Commit-Queue: Shakti Sahu <shaktisahu@chromium.org> Reviewed-by:Min Qin <qinmin@chromium.org> Cr-Commit-Position: refs/heads/master@{#696989}
Showing
Please register or sign in to comment