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: ForegroundServiceStartNotAllowedException (WorkManager issue) #924

Open
2 tasks done
Koitharu opened this issue Jun 8, 2024 · 0 comments
Open
2 tasks done
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@Koitharu
Copy link
Member

Koitharu commented Jun 8, 2024

Brief summary

android.app.ForegroundServiceStartNotAllowedException: Service.startForeground() not allowed due to mAllowStartForeground false: service org.koitharu.kotatsu/androidx.work.impl.foreground.SystemForegroundService
	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:4882)
	at android.os.Parcel.readParcelable(Parcel.java:4864)
	at android.os.Parcel.createExceptionOrNull(Parcel.java:3064)
	at android.os.Parcel.createException(Parcel.java:3053)
	at android.os.Parcel.readException(Parcel.java:3036)
	at android.os.Parcel.readException(Parcel.java:2978)
	at android.app.IActivityManager$Stub$Proxy.setServiceForeground(IActivityManager.java:7220)
	at android.app.Service.startForeground(Service.java:862)
	at androidx.work.impl.foreground.SystemForegroundService$Api31Impl.startForeground(SystemForegroundService.java:193)
	at androidx.work.impl.foreground.SystemForegroundService$1.run(SystemForegroundService.java:129)
	at android.os.Handler.handleCallback(Handler.java:958)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loopOnce(Looper.java:230)
	at android.os.Looper.loop(Looper.java:319)
	at android.app.ActivityThread.main(ActivityThread.java:8918)
	at java.lang.reflect.Method.invoke(Method.java)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:608)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1103)

https://bugs.kotatsu.app/app/1/bug/10692/report

Steps to reproduce

Unknown

Kotatsu version

Any

Android version

12+

Device

Any

Acknowledgements

  • This is not a duplicate of an existing issue. Please look through the list of open issues before creating a new one.
  • This is not an issue with a specific manga source. Otherwise, you have to open an issue in the parsers repository.
@Koitharu Koitharu added the bug Something isn't working label Jun 8, 2024
@Koitharu Koitharu pinned this issue Jun 8, 2024
@Koitharu Koitharu added the help wanted Extra attention is needed label Jun 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant