Android O Replacement for getRunningServices

风格不统一 提交于 2019-11-30 04:43:28

As per documentation:

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.

But may be this solution will help: How to check if a service is running on Android?

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!