Fenix: [Bug] Media Notifications aren't displayed

Created on 13 Sep 2019  ·  14Comments  ·  Source: mozilla-mobile/fenix

Steps to reproduce

  1. Navigate to Spotify and play a song
  2. Lock the device screen
  3. Press the power button an check the lockscreen

Expected behavior

Media notification should be displayed

Actual behavior

No media notification is displayed

Device information

  • Android device: Samsung Galaxy Tab A (android 9)
  • Fenix version: 2.0.0-rc.2
Media P3 S2 ac 🐞 bug

All 14 comments

Is this the same as #5177 ?

Possible. Let's see after #5177 is fixed.

5177 was fixed and the fix should be in Nightly. This can be retested now.

Still no media notification from spotify.com on the latest Nightly 10/8 build.

Thanks! I'll continue debugging this.

Okay, how do I actually play something on spotify in the browser? On desktop I can go to open.spotify.com - but that doesn't seem to work when using a mobile browser?

@pocmo I just logged in, picked a playlist from the homepage and tapped a song. You don't have the shuffle play option like on desktop though.

@vesta0 this appears to be included in the 2.2 milestone but it's not done yet.

Reproducible on RC 2.3.0-rc.2 build on Xiaomi Mi Pad 2 (Android 5.1) - x86-64 architecture.

Just retested this. I'm not seeing any notification displayed for Spotify. (Neither in the toolbar or on the homescreen)
STR:

  1. Go to open.spotify.com.
  2. Ignore their "Open in Spotify" buttons and just click one of the albums to play a song

I reproduced this issue playing videos from bbc.com, cnn.com, vimeo.com, on the latest Beta 80.0.0-beta.4 build, with Samsung Galaxy Tab S6 (Android 9), and OnePlus A3 (Android 6.0.1).

  • Not reproducible on the latest Nightly build from 8/7.

There will be a new MediaControl/MediaSession API in GeckoView soon. Android Components will switch to that and that should hopefully resolve a lot of issues. In the meantime we probably won't do any changes to the existing code anymore since that will probably all go away.
https://bugzilla.mozilla.org/show_bug.cgi?id=1623715

FYI I happened to notice 1623715 landed so this should be unblocked. (Note: I'm not making any claims as to priority here)

We are currently working on integrating the new GV API into AC.

Was this page helpful?
0 / 5 - 0 ratings