my Oneplus 5 just updated to Oreo and something has broken. I have a simple widget which starts and stops some service.
But now, when I request List of services I go
Quoting the documentation:
This method was deprecated in API level 26. As of O, this method is no longer available to third party applications. For backwards compatibility, it will still return the caller's own services.
So, if you do not have a service running, getRunningServices()
will return an empty list on Android 8.0+.