Chromium Code Reviews
DescriptionFix a bug that progress notification can linger after download completes
If the size of the download is unknwon, percentage completed is
always -1.
The current code doesn't add the download into SharedPreference in that case.
As a result, the SharedPref will not be found when download completes.
This causes notifyDownloadSuccess() to early return.
This CL fix the issue by always adding the download entry into the
sharedprefs.
BUG=608091
Committed: https://crrev.com/f0e99eea9df4ba893cb307960f3bc7194e469bd7
Cr-Commit-Position: refs/heads/master@{#390970}
Patch Set 1 #
Messages
Total messages: 8 (3 generated)
|
|||||||||||||||||||