When navigating from a page using MediaSession API to a page which is not, the metadata persists |
|||||
Issue description1. Goto MediaSession test page and play some media 2. Navigate to another page not using MediaSession API and play some media The title and artist are wrong :(
,
Feb 6 2017
,
Feb 6 2017
Your change meets the bar and is auto-approved for M57. Please go ahead and merge the CL to branch 2987 manually. Please contact milestone owner if you have questions. Owners: amineer@(clank), cmasso@(bling), ketakid@(cros), govind@(desktop) For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Feb 6 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/b28681089588dd01dde75af82f849a80febebea0 commit b28681089588dd01dde75af82f849a80febebea0 Author: Zhiqiang Zhang <zqzhang@google.com> Date: Mon Feb 06 12:47:16 2017 [Media>UI] Reset media metadata when navigating away There is a bug caused by media metadata being not properly reset when navigating away, so that the notification title and artist stays the same when the new page starts to play media. This CL fixes the issue. BUG= 687973 Review-Url: https://codereview.chromium.org/2675693004 Cr-Commit-Position: refs/heads/master@{#448231} (cherry picked from commit b0a34cb69bdca47cfe3dd3d1cead96446391dcbf) Review-Url: https://codereview.chromium.org/2678803002 . Cr-Commit-Position: refs/branch-heads/2987@{#321} Cr-Branched-From: ad51088c0e8776e8dcd963dbe752c4035ba6dab6-refs/heads/master@{#444943} [modify] https://crrev.com/b28681089588dd01dde75af82f849a80febebea0/chrome/android/java/src/org/chromium/chrome/browser/media/ui/MediaSessionTabHelper.java [modify] https://crrev.com/b28681089588dd01dde75af82f849a80febebea0/chrome/android/javatests/src/org/chromium/chrome/browser/media/ui/NotificationTitleUpdatedTest.java
,
Feb 6 2017
|
|||||
►
Sign in to add a comment |
|||||
Comment 1 by bugdroid1@chromium.org
, Feb 6 2017