Skip to content

READ_EXTERNAL_STORAGE permission is not necessary while picking file from gallery #4356

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 19, 2021

Conversation

Ayan-10
Copy link
Contributor

@Ayan-10 Ayan-10 commented Apr 13, 2021

Description

Fixes #3744

What changes did you make and why?
As READ_EXTERNAL_STORAGE permission isn't required for picking an image from the gallery. So if storage permission is turned off app should not show a dialog to turn on the permission for READ_EXTERNAL_STORAGE.

Tests performed

Tested 3.0.0-debug-master on Pixel 4 with API level 27 and OPPO A57 with API level 23

Screenshots (for UI changes only)

Permission is turned off.

permission_.mp4

Copy link
Collaborator

@neslihanturan neslihanturan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Ayan-10 :)

@neslihanturan neslihanturan merged commit 3369d96 into commons-app:master Apr 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Is READ_EXTERNAL_STORAGE permission really necessary when picking file from gallery?
2 participants