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

Vivo5.0的手机检测是否开启了悬浮框权限,这个方法没用吧? #25

Open
kamike opened this issue Jan 27, 2018 · 4 comments

Comments

@kamike
Copy link

kamike commented Jan 27, 2018

无论是否在i管家里面开启关闭悬浮框权限,代码检测都是打开了权限的

@kamike
Copy link
Author

kamike commented Feb 1, 2018

如果可以关闭悬浮框权限,检测是有问题的

@zhaozepeng
Copy link
Owner

@kamike vivo 使用 i 管家这个如果使用 appopsmanager 无法判断权限就没办法了

@kamike
Copy link
Author

kamike commented Feb 1, 2018

i管家只是负责开启关闭而已吧,如果是最终开启了还是要通知系统知道吧?有没有其他办法呢,除了用反射获取AppOpsManager

@zhaozepeng
Copy link
Owner

#4
如果AppopsManager不可能,你试试这个方法,其他方法暂时没有

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

2 participants