Chromium Code Reviews
Description[Downloads] Various fixes
* Clicking on an in-progress or paused download now sends the
user to Download Home instead of doing nothing. This uses
the existing Intent broadcasting mechanism, using a lack of
download IDs in the Intent as a signal that Download Home
should be opened instead.
* Unifies the DownloadBroadCastReceiver and DownloadManagerService
pathways for opening a download. This also fixes an assert that
called a method on the UI thread instead of in the background.
* Failing to open a download now sends the user to Download
Home instead of silently failing.
* Cleans up some code in DownloadNotificationService.
* Prevents showing unresumable files in Download Home. This
happens if the user tries to download a file that is "interrupted"
when a file doesn't exist (e.g.).
* Disallow long pressing on an incomplete file in Download Home.
BUG=658246, 658742
Committed: https://crrev.com/fc7b3f9fb992b7bab8f1130a68afb55c7c8259f6
Cr-Commit-Position: refs/heads/master@{#438600}
Patch Set 1 #Patch Set 2 : Dead code #Patch Set 3 : Prevent long pressing #Patch Set 4 : Rebased #
Dependent Patchsets: Messages
Total messages: 14 (7 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||