New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android exception in MusicBroadcastReceiver - Service Intent must be explicit #42
Comments
Sorry, forgot to mention that this is Android. |
This issue is still causing me problems. The exception happens in the following circumstance: If I'm playing music through a Bluetooth speaker, then turn off the speaker while the music is playing, the music switches to playing through the device's built-in speaker for a few seconds, then it crashes. Just before the crash AudioPlayerBroadcastReceiver.OnReceieve() is called, and the call to context.StartService(stopIntent); causes the exception. I have included the stack trace below. Has anyone else run into this issue? Any idea of how to fix it?
|
Nevermind. I figured out how to fix it. I will create a pull request for the change soon. |
I am recently experiencing a crash due to an exception in MusicBroadcastReceiver, in the second line below:
The exception is:
I googled this exception and found the this StackOverflow question about it. I think I get the gist of it's saying, but I'm not sure what exactly to change it to in this instance. Can anyone help?
The text was updated successfully, but these errors were encountered: