ForegroundServiceStartNotAllowedException
RemoteException
Remote stack trace: at com.android.server.am.ActiveServices.setServiceForegroundInnerLocked(ActiveServices.java:1955) at com.android.server.am.ActiveServices.setServiceForegroundLocked(ActiveServices.java:1455) at com.android.server.am.ActivityManagerService.setServiceForeground(ActivityManagerService.java:14127) at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:3641) at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:3032)
ForegroundServiceStartNotAllowedException
Service.startForeground() not allowed due to mAllowStartForeground false: service audio.funkwhale.ffa.dev/audio.funkwhale.ffa.playback.PlayerService
at android.app.ForegroundServiceStartNotAllowedException$1.createFromParcel(ForegroundServiceStartNotAllowedException.java:54)
at android.app.ForegroundServiceStartNotAllowedException$1.createFromParcel(ForegroundServiceStartNotAllowedException.java:50)
at android.os.Parcel.readParcelable(Parcel.java:3346)
at android.os.Parcel.createExceptionOrNull(Parcel.java:2433)
at android.os.Parcel.createException(Parcel.java:2422)
at android.os.Parcel.readException(Parcel.java:2405)
at android.os.Parcel.readException(Parcel.java:2347)
at android.app.IActivityManager$Stub$Proxy.setServiceForeground(IActivityManager.java:8063)
at android.app.Service.startForeground(Service.java:733)
at audio.funkwhale.ffa.playback.MediaControlsManager$updateNotification$1$1.invokeSuspend(MediaControlsManager.kt:106)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)