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

第六个方法(黑科技)不能判断其他应用是否位于前台,百度地图永远都是前台 #11

Open
cyoyochoo opened this issue Mar 4, 2016 · 0 comments

Comments

@cyoyochoo
Copy link

打开百度地图后,切换到后台,
打开我的demo程序调用BackgroundUtil.getLinuxCoreInfo(context, "com.baidu.BaiduMap")
其返回结果一直都是true,什么鬼?我的demo程序不是在最顶层吗?

ProcessManager.getRunningForegroundApps(context) 这个方法返回的是一个前台app列表
在这个列表中我怎么知道哪个是真的处于前台(位于手机界面最顶层)?

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

No branches or pull requests

1 participant