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

Not allowed to start service Intent MusicControlsServiceConnection.java:20 #97

Open
Carlosps opened this issue Jul 6, 2023 · 0 comments

Comments

@Carlosps
Copy link

Carlosps commented Jul 6, 2023

Anyone else facing this issue?

Not allowed to start service Intent { com.homerours.musiccontrols.MusicControlsNotificationKiller }: app is in background uid UidRecord{24099a1 u0a137 SVC bg:+1m24s634ms idle change:uncached procs:1 seq(0,0,0)}


Fatal Exception: java.lang.IllegalStateException: Not allowed to start service Intent { cmp=com.homerours.musiccontrols.MusicControlsNotificationKiller }: app is in background uid UidRecord{24099a1 u0a137 SVC  bg:+1m24s634ms idle change:uncached procs:1 seq(0,0,0)}
       at android.app.ContextImpl.startServiceCommon(ContextImpl.java:1577)
       at android.app.ContextImpl.startService(ContextImpl.java:1532)
       at android.content.ContextWrapper.startService(ContextWrapper.java:664)
       at com.homerours.musiccontrols.MusicControlsServiceConnection.onServiceConnected(MusicControlsServiceConnection.java:20)
       at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1730)
       at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1762)
       at android.os.Handler.handleCallback(Handler.java:873)
       at android.os.Handler.dispatchMessage(Handler.java:99)
       at android.os.Looper.loop(Looper.java:193)
       at android.app.ActivityThread.main(ActivityThread.java:6694)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
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