New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 644485 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Sep 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 1
Type: Bug



Sign in to add a comment

Canceled downloads appear in the download manager

Project Member Reported by dfalcant...@chromium.org, Sep 6 2016

Issue description

Version: Clank ToT

If Download Home is open when a download is canceled, it appears in the list when it shouldn't.  Closing and reopening the UI makes the download disappear as expected.

We need to change how the native side DownloadManagerService decides to alert the UI, which means explicitly checking for the completed state instead of the done state, which can also mean canceled.

 
Project Member

Comment 1 by bugdroid1@chromium.org, Sep 7 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/2914dca6fb5502de404912547f21be813b4fab4d

commit 2914dca6fb5502de404912547f21be813b4fab4d
Author: dfalcantara <dfalcantara@chromium.org>
Date: Wed Sep 07 00:19:04 2016

[Download Home] Don't show canceled downloads

Explicitly check for a "completed" state.

BUG=616324, 644485 

Review-Url: https://codereview.chromium.org/2314223003
Cr-Commit-Position: refs/heads/master@{#416791}

[modify] https://crrev.com/2914dca6fb5502de404912547f21be813b4fab4d/chrome/browser/android/download/download_manager_service.cc

Labels: Merge-Request-54
Going to request a merge on this right-off because the fix is trivial.

Comment 3 by dimu@chromium.org, Sep 7 2016

Labels: -Merge-Request-54 Merge-Approved-54 Hotlist-Merge-Approved
Your change meets the bar and is auto-approved for M54 (branch: 2840)
[Bulk edit]

This issue has been approved for a merge to M54 branch 2840.  Please try to complete the merge by tomorrow at 5 PM PT if at all possible.  If this has already been merged and this message is in error, please remove the label Merge-Approved-54.

Cheers,
Alex
Project Member

Comment 5 by bugdroid1@chromium.org, Sep 7 2016

Labels: -merge-approved-54 merge-merged-2840
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/a870e78d30e8b8cfc2743a8f7111b6e32ebff52b

commit a870e78d30e8b8cfc2743a8f7111b6e32ebff52b
Author: dfalcantara@chromium.org <dfalcantara@chromium.org>
Date: Wed Sep 07 17:22:46 2016

[Download Home] Don't show canceled downloads

Explicitly check for a "completed" state.

BUG=616324, 644485 
TBR=qinmin

Review URL: https://codereview.chromium.org/2317193002 .

Review-Url: https://codereview.chromium.org/2314223003
Cr-Original-Commit-Position: refs/heads/master@{#416791}
Cr-Commit-Position: refs/branch-heads/2840@{#210}
Cr-Branched-From: 1ae106dbab4bddd85132d5b75c670794311f4c57-refs/heads/master@{#414607}

[modify] https://crrev.com/a870e78d30e8b8cfc2743a8f7111b6e32ebff52b/chrome/browser/android/download/download_manager_service.cc

Status: Fixed (was: Started)
Project Member

Comment 7 by bugdroid1@chromium.org, Oct 27 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/a870e78d30e8b8cfc2743a8f7111b6e32ebff52b

commit a870e78d30e8b8cfc2743a8f7111b6e32ebff52b
Author: dfalcantara@chromium.org <dfalcantara@chromium.org>
Date: Wed Sep 07 17:22:46 2016

[Download Home] Don't show canceled downloads

Explicitly check for a "completed" state.

BUG=616324, 644485 
TBR=qinmin

Review URL: https://codereview.chromium.org/2317193002 .

Review-Url: https://codereview.chromium.org/2314223003
Cr-Original-Commit-Position: refs/heads/master@{#416791}
Cr-Commit-Position: refs/branch-heads/2840@{#210}
Cr-Branched-From: 1ae106dbab4bddd85132d5b75c670794311f4c57-refs/heads/master@{#414607}

[modify] https://crrev.com/a870e78d30e8b8cfc2743a8f7111b6e32ebff52b/chrome/browser/android/download/download_manager_service.cc

Sign in to add a comment