Reputation: 175
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?
Upvotes: 8
Views: 29116
Reputation: 175
Seems like my third-party SDK request the WRITE_SETTINGS
permission programmatically and launch the “Can modify system settings” dialog.
Upvotes: 2
Reputation: 21
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.
Upvotes: 2
Reputation: 1989
Might u have use on wifi programmatically or anything like this. Which gets block. Pls check ur any of this like functionality
Upvotes: 0