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

Fix ForegroundServiceDidNotStartInTimeException crash #10

Merged
merged 1 commit into from
Sep 30, 2024

Conversation

efryntov
Copy link
Collaborator

Use startService instead of startForegroundService to allow the service to shut down quickly without requiring a foreground notification; if long-running tasks like starting the Psiphon tunnel are needed, the service will upgrade itself to foreground.

Use `startService` instead of `startForegroundService` to allow the service to shut down quickly without requiring a foreground notification; if long-running tasks like starting the Psiphon tunnel are needed, the service will upgrade itself to foreground.
@tmgrask tmgrask merged commit c561bee into main Sep 30, 2024
2 checks passed
@tmgrask tmgrask deleted the eugene/service-start-crash-fix branch October 1, 2024 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants