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

魅族note5 白名单无效 #1

Closed
haiyang1994 opened this issue May 9, 2017 · 3 comments
Closed

魅族note5 白名单无效 #1

haiyang1994 opened this issue May 9, 2017 · 3 comments

Comments

@haiyang1994
Copy link

魅族note5白名单无效
Intent mzIntent = new Intent();
mzIntent.setComponent(new
ComponentName("com.meizu.safe","com.meizu.safe.powerui.PowerAppPermissionActivity"));
mzIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
keepers.add(mzIntent);
你这个代码是在那个机型/系统上测试的。

note5设置后台受保护应该是这个
Intent mzNote5Intent = new Intent();
mzNote5Intent.setComponent(new ComponentName("com.meizu.safe", "com.meizu.safe.security.AppSecActivity"));
mzNote5Intent.putExtra("packageName", activity.getPackageName());
keepers.add(mzNote5Intent);

@WanghongLin
Copy link
Owner

好的,谢谢反馈。已经提交了修复。e4e2b09

我当时是在一台比较老的魅族机器上面测试的。MX4,当时还是在API 19的系统上面,现在这台MX4已经升级到了API 22了。

@drogbababa
Copy link

请问您知道魅族note5 的悬浮窗权限应该怎么申请嘛?网上的方法没有效果。

@WanghongLin
Copy link
Owner

@drogbababa 如今手头没有对应的魅族机器了,希望你已经找到了设置方法。

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

3 participants