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

Issue 2646793006: [Media>UI] Don't show media metadata on lockscreen in Incognito mode (Closed)

Created:
3 years, 11 months ago by Zhiqiang Zhang (Slow)
Modified:
3 years, 11 months ago
Reviewers:
whywhat
CC:
agrieve+watch_chromium.org, chromium-reviews, feature-media-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Media>UI] Don't show media metadata on lockscreen in Incognito mode Media notification content is marked as private in Incognito mode, so the content is hidden on lockscreen. For the same reason, we shouldn't show the artwork image on lockscreen and wearable devices. BUG=683111 Review-Url: https://codereview.chromium.org/2646793006 Cr-Commit-Position: refs/heads/master@{#445745} Committed: https://chromium.googlesource.com/chromium/src/+/233f53ad273ef485ff5b12510b421a5ab4d429ec

Patch Set 1 #

Patch Set 2 : don't show metadata at all #

Patch Set 3 : don't show notification on wearable at all #

Total comments: 1

Patch Set 4 : addressed nit #

Patch Set 5 : falling back to remove all metadata #

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

Messages

Total messages: 25 (15 generated)
Zhiqiang Zhang (Slow)
PTAL Another one after branch point :(
3 years, 11 months ago (2017-01-20 13:59:39 UTC) #2
whywhat
this change lg do you mean to add the Wear logic here as discussed offline?
3 years, 11 months ago (2017-01-20 15:37:54 UTC) #4
Zhiqiang Zhang (Slow)
On 2017/01/20 15:37:54, whywhat wrote: > this change lg > do you mean to add ...
3 years, 11 months ago (2017-01-20 16:05:45 UTC) #5
Zhiqiang Zhang (Slow)
PTAL
3 years, 11 months ago (2017-01-20 18:15:53 UTC) #7
whywhat
Hm, I'd rather check for isPrivate before calling setMetadata on MediaSession and leave the method ...
3 years, 11 months ago (2017-01-20 19:01:57 UTC) #12
Zhiqiang Zhang (Slow)
FYI I also prepared patch #3 which disables all wearable notification in Incognito mode. I'm ...
3 years, 11 months ago (2017-01-20 20:23:44 UTC) #13
whywhat
https://codereview.chromium.org/2646793006/diff/40001/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/2646793006/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/media/ui/MediaNotificationManager.java#newcode672 chrome/android/java/src/org/chromium/chrome/browser/media/ui/MediaNotificationManager.java:672: @Nullable nit: remove?
3 years, 11 months ago (2017-01-21 00:23:04 UTC) #14
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/2646793006/80001
3 years, 11 months ago (2017-01-24 17:00:47 UTC) #21
Zhiqiang Zhang (Slow)
Landing the "remove all metadata" solution as we reached decision on the bug :)
3 years, 11 months ago (2017-01-24 17:01:10 UTC) #22
commit-bot: I haz the power
3 years, 11 months ago (2017-01-24 17:06:25 UTC) #25
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/233f53ad273ef485ff5b12510b42...

Powered by Google App Engine
This is Rietveld 408576698