Checklist
Affected version
0.27.7
Steps to reproduce the bug
{"user_action":"ui error","request":"ACRA report","content_language":"en-US","content_country":"US","app_language":"en_US","service":"none","package":"org.schabi.newpipe","version":"0.27.7","os":"Linux samsung/a55xnaeea/a55x:15/AP3A.240905.015.A2/A556BXXU7BYDB:user/release-keys 15 - 35","time":"2025-08-11T06:32:52.014+02:00","exceptions":["java.lang.RuntimeException: Unable to create service org.schabi.newpipe.player.PlayerService: android.app.ForegroundServiceStartNotAllowedException: Service.startForeground() not allowed due to mAllowStartForeground false: service org.schabi.newpipe/.player.PlayerService\n\tat android.app.ActivityThread.handleCreateService(ActivityThread.java:5599)\n\tat android.app.ActivityThread.-$$Nest$mhandleCreateService(Unknown Source:0)\n\tat android.app.ActivityThread$H.handleMessage(ActivityThread.java:2707)\n\tat android.os.Handler.dispatchMessage(Handler.java:107)\n\tat android.os.Looper.loopOnce(Looper.java:257)\n\tat android.os.Looper.loop(Looper.java:342)\n\tat android.app.ActivityThread.main(ActivityThread.java:9638)\n\tat java.lang.reflect.Method.invoke(Native Method)\n\tat com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:619)\n\tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:929)\nCaused by: android.app.ForegroundServiceStartNotAllowedException: Service.startForeground() not allowed due to mAllowStartForeground false: service org.schabi.newpipe/.player.PlayerService\n\tat android.app.ForegroundServiceStartNotAllowedException$1.createFromParcel(ForegroundServiceStartNotAllowedException.java:54)\n\tat android.app.ForegroundServiceStartNotAllowedException$1.createFromParcel(ForegroundServiceStartNotAllowedException.java:50)\n\tat android.os.Parcel.readParcelableInternal(Parcel.java:5090)\n\tat android.os.Parcel.readParcelable(Parcel.java:5072)\n\tat android.os.Parcel.createExceptionOrNull(Parcel.java:3252)\n\tat android.os.Parcel.createException(Parcel.java:3241)\n\tat android.os.Parcel.readException(Parcel.java:3224)\n\tat android.os.Parcel.readException(Parcel.java:3166)\n\tat android.app.IActivityManager$Stub$Proxy.setServiceForeground(IActivityManager.java:7410)\n\tat android.app.Service.startForeground(Service.java:863)\n\tat org.schabi.newpipe.player.notification.NotificationUtil$$ExternalSyntheticApiModelOutline0.m(R8$$SyntheticClass:0)\n\tat org.schabi.newpipe.player.notification.NotificationUtil.createNotificationAndStartForeground(NotificationUtil.java:178)\n\tat org.schabi.newpipe.player.notification.NotificationPlayerUi.createNotificationAndStartForeground(NotificationPlayerUi.java:117)\n\tat org.schabi.newpipe.player.PlayerService$$ExternalSyntheticLambda0.accept(R8$$SyntheticClass:0)\n\tat j$.util.Optional.ifPresent(SourceFile:183)\n\tat org.schabi.newpipe.player.PlayerService.onCreate(PlayerService.java:70)\n\tat android.app.ActivityThread.handleCreateService(ActivityThread.java:5586)\n\t... 9 more\n"],"user_comment":""}
Expected behavior
No response
Actual behavior
No response
Screenshots/Screen recordings
No response
Logs
No response
Affected Android/Custom ROM version
No response
Affected device model
No response
Additional information
No response
Checklist
Affected version
0.27.7
Steps to reproduce the bug
{"user_action":"ui error","request":"ACRA report","content_language":"en-US","content_country":"US","app_language":"en_US","service":"none","package":"org.schabi.newpipe","version":"0.27.7","os":"Linux samsung/a55xnaeea/a55x:15/AP3A.240905.015.A2/A556BXXU7BYDB:user/release-keys 15 - 35","time":"2025-08-11T06:32:52.014+02:00","exceptions":["java.lang.RuntimeException: Unable to create service org.schabi.newpipe.player.PlayerService: android.app.ForegroundServiceStartNotAllowedException: Service.startForeground() not allowed due to mAllowStartForeground false: service org.schabi.newpipe/.player.PlayerService\n\tat android.app.ActivityThread.handleCreateService(ActivityThread.java:5599)\n\tat android.app.ActivityThread.-$$Nest$mhandleCreateService(Unknown Source:0)\n\tat android.app.ActivityThread$H.handleMessage(ActivityThread.java:2707)\n\tat android.os.Handler.dispatchMessage(Handler.java:107)\n\tat android.os.Looper.loopOnce(Looper.java:257)\n\tat android.os.Looper.loop(Looper.java:342)\n\tat android.app.ActivityThread.main(ActivityThread.java:9638)\n\tat java.lang.reflect.Method.invoke(Native Method)\n\tat com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:619)\n\tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:929)\nCaused by: android.app.ForegroundServiceStartNotAllowedException: Service.startForeground() not allowed due to mAllowStartForeground false: service org.schabi.newpipe/.player.PlayerService\n\tat android.app.ForegroundServiceStartNotAllowedException$1.createFromParcel(ForegroundServiceStartNotAllowedException.java:54)\n\tat android.app.ForegroundServiceStartNotAllowedException$1.createFromParcel(ForegroundServiceStartNotAllowedException.java:50)\n\tat android.os.Parcel.readParcelableInternal(Parcel.java:5090)\n\tat android.os.Parcel.readParcelable(Parcel.java:5072)\n\tat android.os.Parcel.createExceptionOrNull(Parcel.java:3252)\n\tat android.os.Parcel.createException(Parcel.java:3241)\n\tat android.os.Parcel.readException(Parcel.java:3224)\n\tat android.os.Parcel.readException(Parcel.java:3166)\n\tat android.app.IActivityManager$Stub$Proxy.setServiceForeground(IActivityManager.java:7410)\n\tat android.app.Service.startForeground(Service.java:863)\n\tat org.schabi.newpipe.player.notification.NotificationUtil$$ExternalSyntheticApiModelOutline0.m(R8$$SyntheticClass:0)\n\tat org.schabi.newpipe.player.notification.NotificationUtil.createNotificationAndStartForeground(NotificationUtil.java:178)\n\tat org.schabi.newpipe.player.notification.NotificationPlayerUi.createNotificationAndStartForeground(NotificationPlayerUi.java:117)\n\tat org.schabi.newpipe.player.PlayerService$$ExternalSyntheticLambda0.accept(R8$$SyntheticClass:0)\n\tat j$.util.Optional.ifPresent(SourceFile:183)\n\tat org.schabi.newpipe.player.PlayerService.onCreate(PlayerService.java:70)\n\tat android.app.ActivityThread.handleCreateService(ActivityThread.java:5586)\n\t... 9 more\n"],"user_comment":""}
Expected behavior
No response
Actual behavior
No response
Screenshots/Screen recordings
No response
Logs
No response
Affected Android/Custom ROM version
No response
Affected device model
No response
Additional information
No response