How to programmatically grant the "draw over other apps" permission in android?
<p>How can I programmatically grant the permission in <code>Settings -&gt; Apps -&gt; Draw over other apps</code> in Android? I want to use system alert window but unable to in Android Marshmallow without forcing the user to go through the Settings app and grant the permission first.</p>