Android launch app show “Can modify system settings” dialog

谁都会走 提交于 2019-12-07 01:15:33

问题


I write a simple demo , test a third-party push SDK.

When I launch my demo , system shows me a dialog like this. But the dialog doesn't show up below Android 6.0

How to avoid it when I launch my app except allowing the permission request?


回答1:


As per marshmallow and onwards,the app is not allowed the permissions at the time of installation. Rather, the system will ask for required permission at the time in need(only one time if granted).In older versions(<23), apps were granted all required permissions at the time of installation.

Can modify system settings:

This is another new access setting. This is used to do things like read your current settings, turn on Wi-Fi, and change the screen brightness or volume. It's another permission that isn't in the permissions list.




回答2:


OK I checked the doc at Android Developers.

Seems like my third-party SDK request the WRITE_SETTINGS permission programmatically and launch the “Can modify system settings” dialog.




回答3:


Might u have use on wifi programmatically or anything like this. Which gets block. Pls check ur any of this like functionality



来源:https://stackoverflow.com/questions/38568932/android-launch-app-show-can-modify-system-settings-dialog

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