Skip to content
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

Expected 1 service that handles android.intent.action.MEDIA_BUTTON, found 2 #312

Open
4 tasks done
toasterofbread opened this issue Jun 5, 2024 · 0 comments
Open
4 tasks done

Comments

@toasterofbread
Copy link
Owner

Checklist

  • I am able to reproduce the bug with the latest debug version (Android, Linux, Windows)
  • I've checked that there is no open or closed issue about this bug.
  • This issue contains only one bug.
  • The title of this issue accurately describes the bug.

Steps to reproduce

Unknown, issue appeared to occur spontaneously while on the now playing page in portrait mode.

Expected behavior

N/A

Actual behavior

N/A

Screenshots / recordings

No response

Logs

2024-06-04 19:16:07.819 6507 6507 com.toasterofbread.spmp E AndroidRuntime : FATAL EXCEPTION: main
Process: com.toasterofbread.spmp, PID: 6507
java.lang.RuntimeException: Unable to start receiver androidx.media.session.MediaButtonReceiver: java.lang.IllegalStateException: Expected 1 service that handles android.intent.action.MEDIA_BUTTON, found 2
at android.app.ActivityThread.handleReceiver(ActivityThread.java:4313)
at android.app.ActivityThread.-$$Nest$mhandleReceiver(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2150)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7925)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:942)
Caused by: java.lang.IllegalStateException: Expected 1 service that handles android.intent.action.MEDIA_BUTTON, found 2
at androidx.media.session.MediaButtonReceiver.getServiceComponentByAction(SourceFile:76)
at androidx.media.session.MediaButtonReceiver.onReceive(SourceFile:24)
at android.app.ActivityThread.handleReceiver(ActivityThread.java:4304)
... 9 more

SpMp version

5b60fa3

SpMp platform

Android

OS version

Android 13

Additional information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant