title: Android M permission dialog not showing
body: <p>I'm currently trying to adapt my application to the new permissions model of Android M.</p>
  
  <p>I'm collecting all the permissions I require, then run</p>
  
  <pre><code>Log.i("Permissions", "Requesting permissions: " + permissions);
  requestPermissions(requiredPermissions.toArray(new String[requiredPermissions.size()]), requestCodeForPermissions);
  </code></pre>
  
  <p>requiredPermissions holds the permissions I need like <code>android.permission.WRITE_EXTERNAL_STORAGE</code>.</p>
  
  <p>That routine is definitely executed as I have the Log line in the logcat:</p>
  
  <pre><code>08-07 12:52:46.469: I/Permissions(1674): Requesting permissions: android.permission.RECEIVE_BOOT_COMPLETED; android.permission.WRITE_EXTERNAL_STORAGE
  </code></pre>
  
  <p>But the permissions dialog never shows, let alone is onRequestPermissionsResult() called.</p>
  
  <p>What am I doing wrong? Based on some tutorials I found I'm not missing anything.
  I only have the emulator for testing, no physical device. This is the about screen from settings:
  <a href="http://www.pic-upload.de/view-27930397/EmulatorVersion.png.html">Image</a></p>
  
  <p>It might be worth mentioning something else: If I try to open the overview of installed apps from the home screen I only get <code>launcher3 has exited</code>. I'm not sure if that might be related.</p>
  
  <p>Does anybody have an idea why it's not showing?</p>