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

Issue 1707783002: Use tabId as request code in media notification pending intent (Closed)

Created:
4 years, 10 months ago by aberent
Modified:
4 years, 10 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, mcasas+watch_chromium.org, posciak+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use tabId as request code in media notification pending intent This makes the media nofication correctly reopen custom tabs, instead of opening Chrome. The request code is needed to make the pending intent unique, since Android doesn't look at the extras when comparing intents. Without this Android will incorrectly merge this pending intent with other pending intents with action ACTION_MAIN. BUG=585395 Committed: https://crrev.com/b228999af8e0441607a20ee6f9cea54ca685eebe Cr-Commit-Position: refs/heads/master@{#376767}

Patch Set 1 #

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

Messages

Total messages: 20 (8 generated)
aberent
4 years, 10 months ago (2016-02-17 17:58:16 UTC) #3
mlamouri (slow - plz ping)
+dfalcantara@ Dan, I think it would be great if Tab.createBringBackToFrontIntent() was returning Intent that are ...
4 years, 10 months ago (2016-02-18 13:41:52 UTC) #5
gone
On 2016/02/18 13:41:52, Mounir Lamouri (slow) wrote: > +dfalcantara@ > > Dan, I think it ...
4 years, 10 months ago (2016-02-18 17:55:25 UTC) #6
mlamouri (slow - plz ping)
On 2016/02/18 at 17:55:25, dfalcantara wrote: > On 2016/02/18 13:41:52, Mounir Lamouri (slow) wrote: > ...
4 years, 10 months ago (2016-02-22 15:39:56 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1707783002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1707783002/1
4 years, 10 months ago (2016-02-22 16:20:28 UTC) #9
aberent
On 2016/02/22 15:39:56, Mounir Lamouri (slow) wrote: > On 2016/02/18 at 17:55:25, dfalcantara wrote: > ...
4 years, 10 months ago (2016-02-22 16:23:02 UTC) #10
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-22 17:10:46 UTC) #12
gone
Leaving the l-g-t-m to Mounir since he understands how the resultCode will be handled, but ...
4 years, 10 months ago (2016-02-22 17:56:42 UTC) #13
mlamouri (slow - plz ping)
lgtm
4 years, 10 months ago (2016-02-22 18:47:47 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1707783002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1707783002/1
4 years, 10 months ago (2016-02-22 18:48:18 UTC) #16
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 10 months ago (2016-02-22 18:54:58 UTC) #18
commit-bot: I haz the power
4 years, 10 months ago (2016-02-22 18:56:00 UTC) #20
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/b228999af8e0441607a20ee6f9cea54ca685eebe
Cr-Commit-Position: refs/heads/master@{#376767}

Powered by Google App Engine
This is Rietveld 408576698