If an all calls ActivityCompat.requestPermissions() then the OS displays a dialog with Deny or Permit buttons. There is also a never show this again tick box.
However there's no way that I can see for the app to know if the user has ticked this box - within onRequestPermissionsResult() the grantResults parameter is PERMISSION_DENIED if the user clicks Deny and also if the user ticks the tick box before clicking Deny. So is there anyway an app can find out if the user doesn't want to see that dialog again?