REPRODUCIBILITY (% or how often): Always
BUILD ID: 3.4.0.22
HARDWARE (Jolla1, Tablet, XA2,…): XA2
UI LANGUAGE: English
REGRESSION: (compared to previous public release: Yes, No, ?):
DESCRIPTION:
(Continuation of Headset media buttons don't work with Android apps - together.jolla.com)
My headphones have media buttons (play/pause, volume up, volume down), and they work great with the standard SFOS media player app.
However, I want to use them with Android apps such as Spotify, but they don’t seem to work.
- Play/pause button: Does not work at all, including double-press to skip current song and triple-press to rewind. Everything works fine with SFOS media player.
- Volume up & volume down: Only works when device is “awake” (I have to press the power button to turn on the screen); when playing from the SFOS media player I can also change volume when the device is locked (screen completely off), which is very comfortable. I can’t do that when playing media from an Android app, instead I always have to “wake up” the device.
This is the same with the phone’s own volume buttons: They always work when I’m using the SFOS media player, but if I’m playing from Android media apps I always have to “wake up” the device.
I’m not sure where the problem lies; the MPRIS interface to Spotify works without problems (I can see and use the media buttons on the lockscreen), and the headphone buttons work with the Media Player app.
I’ve experienced this problem since the start of Android support for XA2, and it’s still present with the latest versions:
UPDATE: This issue is still present in 3.1.0.11, exactly as described above.
UPDATE 18.11.2019: This issue is still present 3.2.0.12, still exactly as described above.
UPDATE 03.02.2020: Issue still present in 3.2.1.10.
UPDATE 17.04.2020: Issue still present in 3.3.0.14.
UPDATE 01.10.2020: Issue still present in 3.4.0.22.
PRECONDITIONS:
Have a headset with media buttons, and an Android music player app such as Spotify.
STEPS TO REPRODUCE:
- Launch Spotify app, start playing music
- Lock phone
- Try using headset media buttons to do anything
EXPECTED RESULT:
Volume should change, play/pause should work, next/previous track (using double and triple press on play/pause button) should work.
ACTUAL RESULT:
Nothing happens. When pressing the lock button to “wake up” the phone, it is possible to at least change volume, but none of the other actions work.