Chromium Code Reviews
DescriptionHide the download summary on file open
Notifications can be dismissed with a
DownloadManager.ACTION_NOTIFICATION_CLICKED intent, which bypasses the
DownloadNotificationService so we don't get a chance to hide the
summary. This adds a check to the
DownloadBroadcastReceiver#openDownload() path that allows us to hide any
dangling summary notifications that shouldn't be visible. This also
lets us catch any clicks on the summary which gives us a chance to close
them out as well.
BUG=699323
Review-Url: https://codereview.chromium.org/2796573002
Cr-Commit-Position: refs/heads/master@{#461744}
Committed: https://chromium.googlesource.com/chromium/src/+/803fdf80f842803c7c91dca2a87419afe1b3d60c
Patch Set 1 #Patch Set 2 : Removed strict mode policy change that was added for testing #Patch Set 3 : Removed temporary comment #
Total comments: 1
Patch Set 4 : Added UMA action. #Patch Set 5 : Cleaned up the logic a bit and fixed the UMA stat #
Total comments: 2
Patch Set 6 : Updated enum to use a more detailed description of the values #
Depends on Patchset: Dependent Patchsets: Messages
Total messages: 17 (10 generated)
|
|||||||||||||||||||||||||||||||||||||