title: Activity.requestPermissions vs ActivityCompat.requestPermissions
body: <p>Runtime permission dialog is shown in Android 6.0 or higher, so <code>Activity.requestPermissions(...)</code> which was added in API level 23 makes sense.</p>
  
  <p>But why is there another one (<code>ActivityCompat.requestPermissions(...)</code>) to be used for below Android 6.0? Does this show runtime permission request dialog in lower versions?</p>
  
  <hr>
  
  <ul>
  <li><p>What is the difference between</p>
  
  <pre><code>Activity.requestPermissions(permissions, requestCode)
  </code></pre>
  
  <p>and</p>
  
  <pre><code>ActivityCompat.requestPermissions(activity, permissions, requestCode)
  </code></pre></li>
  <li><p>Which one should I use?</p></li>
  </ul>