I am confused about shouldShowRequestPermissionRationale()
. The docs just say
Gets whether you should show UI with rationale before requesting a permission.
How does the Android system decide if a rationale shall be shown? Can anyone please provide more details on this than the short documentation. Is it e.g. based on how dangerous a permission is?