REPRODUCIBILITY (% or how often): Always
BUILD ID: 22.214.171.124
HARDWARE (Jolla1, Tablet, XA2,…): XA2
UI LANGUAGE: English
REGRESSION: (compared to previous public release: Yes, No, ?):
(Continuation of https://together.jolla.com/question/208290/headset-media-buttons-dont-work-with-android-apps/)
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 126.96.36.199, exactly as described above.
UPDATE 18.11.2019: This issue is still present 188.8.131.52, still exactly as described above.
UPDATE 03.02.2020: Issue still present in 184.108.40.206.
UPDATE 17.04.2020: Issue still present in 220.127.116.11.
UPDATE 01.10.2020: Issue still present in 18.104.22.168.
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
Volume should change, play/pause should work, next/previous track (using double and triple press on play/pause button) should work.
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.