Closed
Bug 1292585
Opened 8 years ago
Closed 8 years ago
Media control notification is out of sync
Categories
(Firefox for Android Graveyard :: Audio/Video, defect, P1)
Tracking
(firefox51 verified)
VERIFIED
FIXED
Firefox 51
Tracking | Status | |
---|---|---|
firefox51 | --- | verified |
People
(Reporter: sflorean, Assigned: alwu)
References
Details
(Keywords: qablocker)
Attachments
(1 file, 1 obsolete file)
Environment:
Device: LG G4 (Android 5.1);
Build: Nightly 51.0a1 (2016-08-04);
Steps to reproduce:
1. On Nightly, go to youtube.com and play a video;
2. Open tab 2 and play a different video;
3. Open notification bar.
Expected result:
A notification is displayed with page title, URL, play/pause button and favicon from video open in tab 2.
Actual result:
A notification is displayed with page title, URL, play/pause button and favicon from video open in first tab.
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → alwu
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Updated•8 years ago
|
Attachment #8778761 -
Flags: review?(s.kaspari)
Attachment #8778762 -
Flags: review?(s.kaspari)
Comment 3•8 years ago
|
||
mozreview-review |
Comment on attachment 8778761 [details]
Bug 1292585 - only update reference tab when tab starts playing.
https://reviewboard.mozilla.org/r/69924/#review67170
Attachment #8778761 -
Flags: review?(s.kaspari) → review+
Comment 4•8 years ago
|
||
mozreview-review |
Comment on attachment 8778762 [details]
Bug 1292585 - part2 : add log.
https://reviewboard.mozilla.org/r/69926/#review67172
Not sure if we need to land the log statements for everyone?
::: mobile/android/base/java/org/mozilla/gecko/media/MediaControlService.java:106
(Diff revision 1)
> public void onTabChanged(Tab tab, Tabs.TabEvents msg, String data) {
> if (!mIsInitMediaSession) {
> return;
> }
>
> + Log.d(LOGTAG, "OnTabChanged, msg = " + msg + ", tab = " + tab);
Do we need to land this or is it just for debugging? This will be called for every tab event; maybe that's a bit too much?
Attachment #8778762 -
Flags: review?(s.kaspari)
Assignee | ||
Comment 5•8 years ago
|
||
(In reply to Sebastian Kaspari (:sebastian) from comment #4)
> Do we need to land this or is it just for debugging? This will be called for
> every tab event; maybe that's a bit too much?
Oh, I didn't consider about that, we can only land patch 1 if this patch is too heavy.
Comment hidden (mozreview-request) |
Assignee | ||
Updated•8 years ago
|
Attachment #8778762 -
Attachment is obsolete: true
Assignee | ||
Comment 7•8 years ago
|
||
Pushed by alwu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ccdde7dc5d72
only update reference tab when tab starts playing. r=sebastian
Comment 9•8 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 51
Reporter | ||
Comment 10•8 years ago
|
||
Verified as fixed:
Device: Nexus 5 (Android 6.0.1) and LG G4 (Android 5.1)
Build: Nightly 51.0a1 (2016-08-10)
Reporter | ||
Updated•6 years ago
|
Status: RESOLVED → VERIFIED
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•