Checklist (Your issue will be automatically closed if you delete this part)
[ ] No "Found a solution for the error you encountered" notification was shown when opening the error report.
[ ] I make sure that there are no existing issues - open or closed - which I could contribute my information to.
[ ] I am able to reproduce the bug with the latest version given here: CLICK THIS LINK.
[ ] I have attached the error report in the issue.
Describe the bug
When I open the app it appears automatically
Steps to reproduce the bug
When I open the program for no reason it crashes repeatedly and I have to go back
Device (e.g. Pixel 9 Pro)
(Oppo Reno 8T 4g)
Error report
Exception
User Action: ui error
Request: ACRA report
Content Country: AU
Content Language: en-GB
App Language: en
Service: none
Version: 3.9.0
OS: Linux Android 14 - 34
Crash log
java.lang.RuntimeException: Unable to start receiver androidx.media.session.MediaButtonReceiver: android.app.ForegroundServiceStartNotAllowedException: startForegroundService() not allowed due to mAllowStartForeground false: service InfinityLoop1309.NewPipeEnhanced/org.schabi.newpipe.player.MainPlayer
at android.app.ActivityThread.handleReceiver(ActivityThread.java:4735)
at android.app.ActivityThread.-$$Nest$mhandleReceiver(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2448)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:257)
at android.os.Looper.loop(Looper.java:368)
at android.app.ActivityThread.main(ActivityThread.java:8839)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:572)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1049)
Caused by: android.app.ForegroundServiceStartNotAllowedException: startForegroundService() not allowed due to mAllowStartForeground false: service InfinityLoop1309.NewPipeEnhanced/org.schabi.newpipe.player.MainPlayer
at android.app.ForegroundServiceStartNotAllowedException$1.createFromParcel(ForegroundServiceStartNotAllowedException.java:54)
at android.app.ForegroundServiceStartNotAllowedException$1.createFromParcel(ForegroundServiceStartNotAllowedException.java:50)
at android.os.Parcel.readParcelableInternal(Parcel.java:4900)
at android.os.Parcel.readParcelable(Parcel.java:4882)
at android.os.Parcel.createExceptionOrNull(Parcel.java:3082)
at android.os.Parcel.createException(Parcel.java:3071)
at android.os.Parcel.readException(Parcel.java:3054)
at android.os.Parcel.readException(Parcel.java:2996)
at android.app.IActivityManager$Stub$Proxy.startService(IActivityManager.java:5984)
at java.lang.reflect.Method.invoke(Native Method)
at leakcanary.ServiceWatcher$install$4$2.invoke(ServiceWatcher.kt:93)
at java.lang.reflect.Proxy.invoke(Proxy.java:1006)
at $Proxy6.startService(Unknown Source)
at android.app.ContextImpl.startServiceCommon(ContextImpl.java:1965)
at android.app.ContextImpl.startForegroundService(ContextImpl.java:1936)
at android.content.ContextWrapper.startForegroundService(ContextWrapper.java:840)
at android.content.ContextWrapper.startForegroundService(ContextWrapper.java:840)
at androidx.core.content.ContextCompat$Api26Impl$$ExternalSyntheticApiModelOutline0.m(Unknown Source:0)
at androidx.core.content.ContextCompat$Api26Impl.startForegroundService(ContextCompat.java:931)
at androidx.core.content.ContextCompat.startForegroundService(ContextCompat.java:703)
at androidx.media.session.MediaButtonReceiver.onReceive(MediaButtonReceiver.java:115)
at android.app.ActivityThread.handleReceiver(ActivityThread.java:4719)
... 9 more
Checklist (Your issue will be automatically closed if you delete this part)
Describe the bug When I open the app it appears automatically Steps to reproduce the bug When I open the program for no reason it crashes repeatedly and I have to go back Device (e.g. Pixel 9 Pro) (Oppo Reno 8T 4g) Error report
Exception
Crash log
Additional context