title: Android permissions: Perform task after user pressed "Allow"
body: <p>I would like to know if there is a way we can identify the event when the user has pressed "Allow" button for contact details access/ calendar access etc., </p>
  
  <p>I know there is a way to ask for permissions with the ActivityCompat.requestPermissions but is there a way to perform an action right after the user grants a permission?</p>