Android Oreo has imposed many restrictions on running background service. Services now don\'t behave like normal in Oreo as they used to before.
But what if I have t
You would not be able to run background services long running in Oreo as there are behaviour changes, now Oreo to optimise system memory, battery etc, it kills background service, to solve your issue you should use foreground service.
Have a look at Background execution limits https://developer.android.com/about/versions/oreo/android-8.0-changes
Hope this helps in understanding the issue....