title: Error in run time Permission in Android
body: <p>Hiii, when i create the run time Permission in my app the error is gone, here no problem, but when i make  override on the (onRequestPermissionsResult) method, and make sure to give the Premission by user, also show me Error about Permission? why that? and how can i overcome it?: this error is:</p>
  
  <pre><code>Call required permission which maybe rejected by user: code should explicitly check to see if permission is available...etc)
  </code></pre>
  
  <p>this is my code:</p>
  
  <pre><code>private fun startLocationUpdates() {
  if( ActivityCompat.checkSelfPermission(applicationContext, android.Manifest.permission.ACCESS_FINE_LOCATION)
          != PackageManager.PERMISSION_GRANTED
          &amp;&amp; ActivityCompat.checkSelfPermission(applicationContext, android.Manifest.permission.ACCESS_COARSE_LOCATION
  ) != PackageManager.PERMISSION_GRANTED){
      ActivityCompat.requestPermissions(this@DisplayMembers, arrayOf(android.Manifest.permission.ACCESS_FINE_LOCATION, android.Manifest.permission.ACCESS_COARSE_LOCATION), REQUEST_DISP_LOC)
  }else {
      //=====================//
      mFusedLocationClient?.requestLocationUpdates(LocationRequest(),
              LocationCallBack(),
              null)
      //====================//
  }
  </code></pre>
  
  <p>}</p>
  
  <p>and:</p>
  
  <pre><code> override fun onRequestPermissionsResult(requestCode: Int, permissions: Array&lt;out String&gt;, grantResults: IntArray) {
      when(requestCode){
          REQUEST_DISP_LOC -&gt; {
              if (grantResults[0] == PackageManager.PERMISSION_GRANTED) {
  
                  mFusedLocationClient?.requestLocationUpdates(LocationRequest(),
                          LocationCallBack(),
                          null)
              }
          }
      }
  }
  </code></pre>