shouldShowRequestPermissionRationaleCompat

Check that a permission has been denied for the first time (never ask again is not checked)

Parameters

activity

: the target Activity

permission

: the name of the permission to check