Links (8)
“ see Android 15 documentation: Apps that target Android 15 must be the top app or running an audio-related foreground service in order to request audio focus. ”
“ we have created a sample app that illustrates the problem and shared with android-bugreport@google.com here: https://drive.google.com/file/d/16ZlkbO_mcXS3RVaePL-mHgIcF7034JRr/view?usp=sharing ”
“ For steps to capture a bug report, please refer: https://developer.android.com/studio/debug/bug-report#bugreportdevice ”
“ we've uploaded a bugreport and shared it at:
https://drive.google.com/file/d/1kSyxTegya2BRuVk5wqOZXKkLKNgba4z0/view?usp=sharing ”
“ I have a very similar issue on my own project https://github.com/SimonMarquis/SleepTimer , which is now broken on Android 15. ”
“
Even with a foreground service (mentionned in Android 15 behavior changes ), requesting audio focus now always leads to AUDIOFOCUS_REQUEST_FAILED on Android 15. ”
“ You can take a look at the PR trying to implement the new Android 15 requirements if you want to reproduce the issue. ”