Hi,
Not sure if it's related to the update, but all I can say is: I recently updated my Google Pixel 4a-5G to Android 12, and I can't really control audio playback via the Play/Pause button anymore. This applies to both my car (Ford Fiesta, regular BT connection, not Android Car) and my Anker Soundbuds Flow. — I think the problem existed before Android 12 as well, but I'm not sure.
Thanks in advance!
Android 12 (Google Pixel) and Play/Pause
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Android 12 (Google Pixel) and Play/Pause
Thanks for your report. I do not currently have any devices with Android 12, so I can only test with the emulator. The play/pause buttons in the player and in the notification area work, so I assume that you mean bluetooth buttons. Play/pause can be simulated via
adb shell input keyevent 85
and indeed there is no reaction on Android 12. There are two methods to handle these buttons, an old and a new method. So far, both have worked on all Android versions, but the new one wasn't supported by some Samsung devices, so I still use the old method everywhere.
I will switch to the new method for Android 12, this does seem to work.
adb shell input keyevent 85
and indeed there is no reaction on Android 12. There are two methods to handle these buttons, an old and a new method. So far, both have worked on all Android versions, but the new one wasn't supported by some Samsung devices, so I still use the old method everywhere.
I will switch to the new method for Android 12, this does seem to work.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com