Hello,
Since Android 12 the SetVolume method no longer works when my application is in the background. No problem with Android 11, Android 10 and Android 9.
Am I the only one having this problem?
How to solve it?
Thank you for your help.
This app is working fine when the app is opened or the app is on the screen. Volume is changing when app activity is opened. But when app is running on background, volume is not changing with slide...
Hello Erel, thank you for this solution. I get the audio focus back but still can't change the volume in the background. No big deal, I can do otherwise by recovering the audio focus. But how to abandon this audio focus?
Thanks in advance.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.