Why is onResume called after onRequestPermissionsResult? : <p>I run into some problems with the android permissions. The problem is that onResume get called every time onRequestPermissionsResult has been called even if the user already said "Never ask again".</p>

<p>An example:</p>

<pre><code>  @Override
  public void onResume() {
    super.onResume();
    startLocationProvider();
  }

  private void startLocationProvider() {
    if ( !locationService.requestLocationPermission( this, 0 ) ) {
      return;
    }

  @Override
  public void onRequestPermissionsResult( int requestCode, String[] permissions, int[] grantResults ) {
    if ( requestCode == 0 ) {
      if ( grantResults.length == 1 &amp;&amp; grantResults[ 0 ] == PackageManager.PERMISSION_GRANTED ) {
        startLocationProvider();
      }
    }
</code></pre>

<p>It works fine until the user select "Never ask again" and deny. I don't know why onResume is called again and again although no dialog is shown to the user.</p>
