Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Request for new functionality
View staffing
Description
Component used: activity-compose
Version used: 1.9.0
In the Accompanist Permissions library, we have a PR trying to add the ability to determine if the permission status is permanently denied or denied. This is theoretically possible to determine after making the first permission request because it should return
-1
for denied andshouldShowRationale = false
.However it currently also returns the same result if the user cancels the dialog, leading to an ambiguous situation where we don't know if it is permanently denied or just cancelled.
This feature request is to disambiguate this situation, the activity result contract should return something to say that the request was cancelled.
For more context seehttps://github.com/google/accompanist/pull/1793