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

Issue 1847063005: [Media, UI] Change MediaNotification style to MediaStyle (Closed)

Created:
4 years, 8 months ago by Zhiqiang Zhang (Slow)
Modified:
4 years, 8 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

[Media, UI] Change MediaNotification style to MediaStyle This patch changes the MediaNotification style from a custom layout into the MediaStyle using NotificationCompat. BUG=599937 Committed: https://crrev.com/6fe77672d634a7b0adb11d2c11f166be282da012 Cr-Commit-Position: refs/heads/master@{#387302}

Patch Set 1 #

Patch Set 2 : use TabObserver to get Favicon #

Patch Set 3 : remove logging #

Patch Set 4 : undo changes to mediaSessionImage #

Patch Set 5 : fix image resolution issue for wearable #

Patch Set 6 : behind a flag #

Patch Set 7 : fix tests and rebase #

Total comments: 24

Patch Set 8 : address Mounir's comments #

Patch Set 9 : fix proguard #

Patch Set 10 : fix compile #

Patch Set 11 : proguards #

Total comments: 1

Patch Set 12 : fix for findbugs #

Total comments: 12

Patch Set 13 : fixing tests, hopefully #

Patch Set 14 : minor fixes #

Patch Set 15 : findbugs #

Patch Set 16 : addressed Mounir's comments, fixed time, origin and STOP_ACTION #

Total comments: 4

Patch Set 17 : rebasing #

Patch Set 18 : fixed nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+399 lines, -153 lines) Patch
M chrome/android/java/proguard.flags View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/ChromeFeatureList.java View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/media/remote/CastNotificationControl.java View 1 2 3 4 5 6 7 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/media/ui/MediaNotificationInfo.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 10 chunks +16 lines, -16 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/media/ui/MediaNotificationManager.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 9 chunks +173 lines, -99 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/media/ui/MediaSessionTabHelper.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 6 chunks +86 lines, -19 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/media/ui/NotificationTitleUpdatedTest.java View 1 2 3 4 5 6 7 8 9 10 11 12 5 chunks +99 lines, -15 lines 0 comments Download
M chrome/app/generated_resources.grd View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/android/chrome_feature_list.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/android/chrome_feature_list.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (9 generated)
Zhiqiang Zhang (Slow)
I worked this patch based on Mounir's prototype. Made some changes about getting the favicon.
4 years, 8 months ago (2016-04-04 14:10:28 UTC) #3
mlamouri (slow - plz ping)
On 2016/04/04 at 14:10:28, zqzhang wrote: > I worked this patch based on Mounir's prototype. ...
4 years, 8 months ago (2016-04-06 09:16:50 UTC) #4
Zhiqiang Zhang (Slow)
PTAL, made the new notification behind a flag, which is disabled by default. I'm worried ...
4 years, 8 months ago (2016-04-06 16:43:38 UTC) #5
mlamouri (slow - plz ping)
It looks good and the finch experiment doesn't make the code that complex :) Why ...
4 years, 8 months ago (2016-04-07 19:47:35 UTC) #6
Zhiqiang Zhang (Slow)
PTAL, addressed Mounir's comments. The MediaStyle tests are failing, need to investigate why. https://codereview.chromium.org/1847063005/diff/120001/chrome/android/java/src/org/chromium/chrome/browser/ChromeFeatureList.java File ...
4 years, 8 months ago (2016-04-11 09:26:28 UTC) #7
mlamouri (slow - plz ping)
lgtm with comments applied https://codereview.chromium.org/1847063005/diff/220001/chrome/android/java/src/org/chromium/chrome/browser/media/ui/MediaNotificationManager.java File chrome/android/java/src/org/chromium/chrome/browser/media/ui/MediaNotificationManager.java (right): https://codereview.chromium.org/1847063005/diff/220001/chrome/android/java/src/org/chromium/chrome/browser/media/ui/MediaNotificationManager.java#newcode544 chrome/android/java/src/org/chromium/chrome/browser/media/ui/MediaNotificationManager.java:544: // TODO: smallIcon set to ...
4 years, 8 months ago (2016-04-11 14:37:38 UTC) #8
Zhiqiang Zhang (Slow)
Addressed Mounir's comments with replies. +nyquist@ to take a look at: proguard.flags ChromeFeatureList.java chrome_feature_list.* https://codereview.chromium.org/1847063005/diff/220001/chrome/android/java/src/org/chromium/chrome/browser/media/ui/MediaNotificationManager.java ...
4 years, 8 months ago (2016-04-11 20:44:55 UTC) #10
Zhiqiang Zhang (Slow)
+bauerb for approval of: proguard.flags CastNotificationControl.java ChromeFeatureList.java chrome_feature_list.*
4 years, 8 months ago (2016-04-13 11:39:20 UTC) #13
Zhiqiang Zhang (Slow)
+bauerb for approval of: proguard.flags CastNotificationControl.java ChromeFeatureList.java chrome_feature_list.*
4 years, 8 months ago (2016-04-13 11:39:20 UTC) #14
Bernhard Bauer
LGTM w/ nits: https://codereview.chromium.org/1847063005/diff/300001/chrome/android/java/src/org/chromium/chrome/browser/media/ui/MediaNotificationManager.java File chrome/android/java/src/org/chromium/chrome/browser/media/ui/MediaNotificationManager.java (right): https://codereview.chromium.org/1847063005/diff/300001/chrome/android/java/src/org/chromium/chrome/browser/media/ui/MediaNotificationManager.java#newcode694 chrome/android/java/src/org/chromium/chrome/browser/media/ui/MediaNotificationManager.java:694: || mMediaNotificationInfo.supportsStop()) { I don't quite ...
4 years, 8 months ago (2016-04-14 12:58:20 UTC) #15
Zhiqiang Zhang (Slow)
https://codereview.chromium.org/1847063005/diff/300001/chrome/android/java/src/org/chromium/chrome/browser/media/ui/MediaNotificationManager.java File chrome/android/java/src/org/chromium/chrome/browser/media/ui/MediaNotificationManager.java (right): https://codereview.chromium.org/1847063005/diff/300001/chrome/android/java/src/org/chromium/chrome/browser/media/ui/MediaNotificationManager.java#newcode694 chrome/android/java/src/org/chromium/chrome/browser/media/ui/MediaNotificationManager.java:694: || mMediaNotificationInfo.supportsStop()) { On 2016/04/14 12:58:20, Bernhard Bauer wrote: ...
4 years, 8 months ago (2016-04-14 13:09:17 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1847063005/340001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1847063005/340001
4 years, 8 months ago (2016-04-14 13:20:19 UTC) #19
commit-bot: I haz the power
Committed patchset #18 (id:340001)
4 years, 8 months ago (2016-04-14 14:02:30 UTC) #21
commit-bot: I haz the power
4 years, 8 months ago (2016-04-14 14:03:33 UTC) #23
Message was sent while issue was closed.
Patchset 18 (id:??) landed as
https://crrev.com/6fe77672d634a7b0adb11d2c11f166be282da012
Cr-Commit-Position: refs/heads/master@{#387302}

Powered by Google App Engine
This is Rietveld 408576698