on-internet
← Community

mediaPlayer no longer playing when started from android.intent.action.BOOT_COMPLETED

Stack Overflow ·

I built an app that starts a foreground service with a MediaPlayer instance, when it receives android.intent.action.BOOT_COMPLETE When my phone updated to API 37 (Android 17), the media player stopped playing sound. I know it was still working, as I have a notification show itself, whenever the foreground service starts. That notification never went away. Additionally, my audio focus requests are also being denied. Here is the code showing the android manifest (where I ask to listen for BOOT_COMPLETE), the BroadcastReciever (that fires when BOOT_COMPLETE shows up), and the MediaService (the fo

Comments

Sign in or sign up to comment and upvote.

No comments yet.