title: ActivityCompat.requestPermissions
body: <p>When my <code>Activity</code> calls <code>ActivityCompat.requestPermissions</code>, the UI dialog box does not appear.</p>
  
  <pre><code>ActivityCompat.requestPermissions(HomeActivity.this,
                      new String[]{Manifest.permission.ACCESS_FINE_LOCATION},
                      MY_PERMISSIONS_REQUEST_ACCESS_FINE_LOCATION);
  </code></pre>
  
  <p>I have this screen on the phone: </p>
  
  <p><a href="https://i.stack.imgur.com/ajUNa.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/ajUNa.jpg" alt="Setup program stopped windows "></a></p>
  
  <p>I do not know how to do, I try with:</p>
  
  <pre><code>requestPermissions( new String[]{Manifest.permission.ACCESS_FINE_LOCATION},
                      MY_PERMISSIONS_REQUEST_ACCESS_FINE_LOCATION);
  </code></pre>
  
  <p>I have the same result, if I put the line in comment and I have not the window that appears but I do not have the result (UI dialog box)</p>