Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(414)

Issue 2571623002: [Downloads] Various fixes (Closed)

Created:
4 years ago by gone
Modified:
4 years ago
Reviewers:
Theresa
CC:
chromium-reviews, asanka, agrieve+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

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 #

Messages

Total messages: 14 (7 generated)
gone
Code's mainly moving around, but the DownloadNotificationService changes could use a more careful eye because ...
4 years ago (2016-12-12 22:48:27 UTC) #2
Theresa
lgtm
4 years ago (2016-12-13 17:44:44 UTC) #3
gone
Eh heh... didn't realize you'd lgtmed this already. I added another fix to it. PTAL ...
4 years ago (2016-12-14 18:55:39 UTC) #5
gone
Got a verbal still lgtm; landing
4 years ago (2016-12-14 18:57:50 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2571623002/60001
4 years ago (2016-12-14 18:58:45 UTC) #9
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years ago (2016-12-14 19:53:09 UTC) #12
commit-bot: I haz the power
4 years ago (2016-12-14 19:55:44 UTC) #14
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/fc7b3f9fb992b7bab8f1130a68afb55c7c8259f6
Cr-Commit-Position: refs/heads/master@{#438600}

Powered by Google App Engine
This is Rietveld 408576698