title: SYSTEM_ALERT_WINDOW - How to get this permission automatically on Android 6.0 and targetSdkVersion 23
body: <p>Facebook, Evernote, Pocket - all apps get this permission on Android 6.0 automatically, even though they are targeting 23 (<code>targetSdkVersion=23</code>).</p>
  
  <p>There has been a lot of documentation regarding the new Marshmallow permission model. One of them is <code>SYSTEM_ALERT_WINDOW</code> been 'promoted' to 'above dangerous'  permission class thus requiring a special user intervention in order for apps to be granted with those. If the app has <code>targetSdkVersion</code> 22 or lower, app gets this permission automatically (if requested in the manifest). </p>
  
  <p>However, I've noticed some apps that get this permission, without needing to send the user to the setting special page of <code>Draw over other apps</code> permission. I saw Facebook, Evernote, Pocket - and perhaps there are more.</p>
  
  <p>Anyone knows how an app can be granted this permission without the user go through <code>Settings -&gt; Apps -&gt; Draw over other apps</code>?</p>
  
  <p>Thanks</p>