title: shouldShowRequestPermissionRationale not working as expected
body: <p>I'm working on checking and getting permission from user with API level 23 and above. So here is a confusing thing for me, android.com says:</p>
  
  <blockquote>
    <p>shouldShowRequestPermissionRationale() method returns true if the app has requested this permission previously and the user denied the request. 
    If the user turned down the permission request in the past and chose the Don't ask again option in the permission request system dialog, this method returns false</p>
  </blockquote>
  
  <p>in other side it gives following code for checking permission and request permission if its neccessery</p>
  
  <pre><code>// Here, thisActivity is the current activity
  if (ContextCompat.checkSelfPermission(thisActivity,
              Manifest.permission.READ_CONTACTS)
      != PackageManager.PERMISSION_GRANTED) {
  
  // Should we show an explanation?
  if (ActivityCompat.shouldShowRequestPermissionRationale(thisActivity,
          Manifest.permission.READ_CONTACTS)) {
  
      // Show an explanation to the user *asynchronously* -- don't block
      // this thread waiting for the user's response! After the user
      // sees the explanation, try again to request the permission.
  
  } else {
  
      // No explanation needed, we can request the permission.
  
      ActivityCompat.requestPermissions(thisActivity,
              new String[]{Manifest.permission.READ_CONTACTS},
              MY_PERMISSIONS_REQUEST_READ_CONTACTS);
  
      // MY_PERMISSIONS_REQUEST_READ_CONTACTS is an
      // app-defined int constant. The callback method gets the
      // result of the request.
      }
  }
  </code></pre>
  
  <p><code>else</code> scope in above example runs  if user doesn't allow permission and check <strong>Don't Ask Again</strong>, Right? So with this code user never being asked for permission at first time run. I tested that code and the result is what I expected.
  So How could I request permission for first time run and do something if user previously denied my request and do something if user deny my request and check <strong>Don't Ask Again</strong>?</p>