Search code examples
androidandroid-permissions

Android launch app show "Can modify system settings" dialog


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

enter image description here

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


Solution

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