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

Android O: Scheduler needs to start service into foreground mode #801

Closed
d4rken opened this Issue Mar 21, 2017 · 2 comments

Comments

1 participant
@d4rken
Owner

d4rken commented Mar 21, 2017

If your app needs to create a foreground service while the app is in the background, use the new NotificationManager.startServiceInForeground() method instead of creating a background service and trying to promote it to the foreground.

https://developer.android.com/reference/android/app/NotificationManager.html#startServiceInForeground(android.content.Intent,%20int,%20android.app.Notification)

@d4rken d4rken added this to the Next Tasks milestone Mar 21, 2017

@d4rken d4rken modified the milestones: v4.8.0, Next Tasks Sep 1, 2017

@d4rken d4rken closed this Sep 11, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment