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

Crash : android.app.BackgroundServiceStartNotAllowedException: Not allowed to start service Intent #1201

Open
2 of 6 tasks
Massedil opened this issue Apr 2, 2024 · 0 comments

Comments

@Massedil
Copy link

Massedil commented Apr 2, 2024

  • Vanilla Music Version (Settings -> About): 1.3.2
  • Android Version: 14 (LineageOS 21)
  • Phone vendor / model: Samsung Galaxy A52S
  • Application was downloaded from (use [x]):
    • Play Store
    • F-Droid
    • Other (Nightly Build)
  • Did this work in a previous version?
    • Yes
    • No
    • NA / Don't know.

Description

FATAL EXCEPTION: main
Process: ch.blinkenlights.android.vanilla, PID: 13264
android.app.BackgroundServiceStartNotAllowedException: Not allowed to start service Intent { cmp=ch.blinkenlights.android.vanilla/.PlaybackService }: app is in background uid UidRecord{ac83ccb u0a182 TPSL bg:+6m19s73ms idle change:procadj procs:0 seq(597833,597778)} caps=------
at android.app.ContextImpl.startServiceCommon(ContextImpl.java:1945)
at android.app.ContextImpl.startService(ContextImpl.java:1900)
at android.content.ContextWrapper.startService(ContextWrapper.java:825)
at ch.blinkenlights.android.vanilla.PlaybackActivity.onStart(PlaybackActivity.java:127)
at ch.blinkenlights.android.vanilla.LibraryActivity.onStart(LibraryActivity.java:211)
at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1582)
at android.app.Activity.performStart(Activity.java:8654)
at android.app.ActivityThread.handleStartActivity(ActivityThread.java:3847)
at android.app.servertransaction.TransactionExecutor.performLifecycleSequence(TransactionExecutor.java:225)
at android.app.servertransaction.TransactionExecutor.cycleToPath(TransactionExecutor.java:205)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:177)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:98)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2468)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:205)
at android.os.Looper.loop(Looper.java:294)
at android.app.ActivityThread.main(ActivityThread.java:8248)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:971)

Steps to reproduce the issue

Don't know exactly, but something like :

  • play a song
  • lock the phone
  • on lock screen pause the song
  • some times later, play again the song from the lock screen
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