View Single Post
Old 07-16-2024, 03:12 AM   #5
mmc_meneses
Connoisseur
mmc_meneses doesn't littermmc_meneses doesn't litter
 
Posts: 54
Karma: 114
Join Date: Feb 2023
Location: Spain
Device: Onyx Boox Note 2 Air
Quote:
Originally Posted by Renate View Post
Wake locks can be tricky.
I have my own streamer for BBC World Service
Since I am just using MediaPlayer, I have to disable battery optimization, but I don't have to deal with wake locks myself since apparently MediaPlayer handles that already.

You can look at the AndroidManifest.xml in your app and see if they use any wake lock permissions.
OTOH, Android has changed a lot of permissions so that you have to request them dynamically.
Where can I find AndroidManifest.xml ?

Thanks
mmc_meneses is offline   Reply With Quote