Checklist
Affected version
0.28.0
Steps to reproduce the bug
I just want to play the video in the background but suddenly, an app or UI was crashed.
Expected behavior
App/UI crashed when I'm playing a video in the background.
Actual behavior
You need to optimize the app.
Screenshots/Screen recordings
No response
Logs
Exception
- User Action: ui error
- Request: ACRA report
- Content Country: PH
- Content Language: fil-
- App Language: en_US
- Service: none
- Timestamp: 2025-11-14T11:07:22.312+08:00
- Package: org.schabi.newpipe
- Service: none
- Version: 0.28.0
- OS: Linux Android 13 - 33
Crash log
android.app.RemoteServiceException$ForegroundServiceDidNotStartInTimeException: Context.startForegroundService() did not then call Service.startForeground(): ServiceRecord{13c0d9a u0 org.schabi.newpipe/.player.PlayerService}
at android.app.ActivityThread.generateForegroundServiceDidNotStartInTimeException(ActivityThread.java:2114)
at android.app.ActivityThread.throwRemoteServiceException(ActivityThread.java:2088)
at android.app.ActivityThread.-$$Nest$mthrowRemoteServiceException(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2350)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:204)
at android.os.Looper.loop(Looper.java:291)
at android.app.ActivityThread.main(ActivityThread.java:8168)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:601)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1136)
Caused by: android.app.StackTrace: Last startServiceCommon() call for this service was made here
at android.app.ContextImpl.startServiceCommon(ContextImpl.java:2050)
at android.app.ContextImpl.startForegroundService(ContextImpl.java:1995)
at android.content.ContextWrapper.startForegroundService(ContextWrapper.java:822)
at android.content.ContextWrapper.startForegroundService(ContextWrapper.java:822)
at androidx.core.content.ContextCompat$Api26Impl.startForegroundService(ContextCompat.java:1128)
at androidx.core.content.ContextCompat.startForegroundService(ContextCompat.java:700)
at androidx.media.session.MediaButtonReceiver.onReceive(MediaButtonReceiver.java:120)
at android.app.ActivityThread.handleReceiver(ActivityThread.java:4521)
at android.app.ActivityThread.-$$Nest$mhandleReceiver(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2262)
... 7 more
Affected Android/Custom ROM version
Android 13 Go
Affected device model
Infinix Smart 8 Pro
Additional information
No response
Checklist
Affected version
0.28.0
Steps to reproduce the bug
I just want to play the video in the background but suddenly, an app or UI was crashed.
Expected behavior
App/UI crashed when I'm playing a video in the background.
Actual behavior
You need to optimize the app.
Screenshots/Screen recordings
No response
Logs
Exception
Crash log
Affected Android/Custom ROM version
Android 13 Go
Affected device model
Infinix Smart 8 Pro
Additional information
No response