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

Issue 2793613002: Fixed launching of multiple instances of download home when tapping notification (Closed)

Created:
3 years, 8 months ago by shaktisahu
Modified:
3 years, 8 months ago
CC:
chromium-reviews, asanka, agrieve+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fixed launching of multiple instances of download home when tapping notification Without appropriate launch flags, multiple instances for download home are stacked on top of each other. Using launch mode FLAG_ACTIVITY_SINGLE_TOP prevents that. Also added flag for FLAG_ACTIVITY_MULTIPLE_TASK in order for this to work on multi-window scenario. Verified that this works in Android 6.x and 7.x phones with multi-window. BUG=692020 Review-Url: https://codereview.chromium.org/2793613002 Cr-Commit-Position: refs/heads/master@{#461970} Committed: https://chromium.googlesource.com/chromium/src/+/ff530ff4dd4ad565f73d3fb795c9ed4b6ee69e18

Patch Set 1 : more #

Total comments: 2

Patch Set 2 : multi window #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -0 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/download/DownloadUtils.java View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (8 generated)
shaktisahu
3 years, 8 months ago (2017-03-31 19:52:33 UTC) #4
shaktisahu
PTAL
3 years, 8 months ago (2017-03-31 20:21:19 UTC) #6
gone
How does this fix it? Neither the bug or the CL description indicates why you ...
3 years, 8 months ago (2017-03-31 21:13:11 UTC) #7
shaktisahu
https://codereview.chromium.org/2793613002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/download/DownloadUtils.java File chrome/android/java/src/org/chromium/chrome/browser/download/DownloadUtils.java (right): https://codereview.chromium.org/2793613002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/download/DownloadUtils.java#newcode132 chrome/android/java/src/org/chromium/chrome/browser/download/DownloadUtils.java:132: intent.addFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP); On 2017/03/31 21:13:11, dfalcantara (load balance plz) wrote: ...
3 years, 8 months ago (2017-04-01 00:14:29 UTC) #9
gone
SINGLE_TOP only works if the download activity is on top; if you open an image ...
3 years, 8 months ago (2017-04-04 18:10:09 UTC) #10
shaktisahu
On 2017/04/04 18:10:09, dfalcantara (load balance plz) wrote: > SINGLE_TOP only works if the download ...
3 years, 8 months ago (2017-04-04 18:27:38 UTC) #11
gone
lgtm, but Intent flags continue to scare me. You'll need to keep a bead on ...
3 years, 8 months ago (2017-04-05 00:41:17 UTC) #12
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/2793613002/40001
3 years, 8 months ago (2017-04-05 02:27:48 UTC) #14
commit-bot: I haz the power
3 years, 8 months ago (2017-04-05 03:40:06 UTC) #17
Message was sent while issue was closed.
Committed patchset #2 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/ff530ff4dd4ad565f73d3fb795c9...

Powered by Google App Engine
This is Rietveld 408576698