DescriptionMove SharedPreference for download into DownloadNotificationService
Previously we use SharedPreference to track ongoing downloads when Chrome
gets killed.
So when chrome restarts, we can use the SharedPreferences to clean up
notifications.
With DownloadNotificationService, it should handle all notifications
along with those SharedPreferences.
And since we no longer clear up notification on restart, we can simply
remove the SharedPreference after download is paused.
BUG=
Committed: https://crrev.com/2b978d9fdb485b980c274064a5506a9c0bbc08f3
Cr-Commit-Position: refs/heads/master@{#375696}
Patch Set 1 #
Total comments: 6
Patch Set 2 : nits #Messages
Total messages: 11 (5 generated)
|