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)

51 Branch
ARM
Android
defect

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: nobody → alwu
Attachment #8778761 - Flags: review?(s.kaspari)
Attachment #8778762 - Flags: review?(s.kaspari)
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 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)
(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.
Attachment #8778762 - Attachment is obsolete: true
Pushed by alwu@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ccdde7dc5d72 only update reference tab when tab starts playing. r=sebastian
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 51
Verified as fixed: Device: Nexus 5 (Android 6.0.1) and LG G4 (Android 5.1) Build: Nightly 51.0a1 (2016-08-10)
Status: RESOLVED → VERIFIED
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: