Skip to content
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

Allow tag editor to function on API 30+ #929

Merged
merged 1 commit into from
Feb 4, 2024

Conversation

gaycodegal
Copy link
Contributor

Re: #863

In all technicality, this check does nothing and has no side effects. We don't gate solely on SD card access for other API versions, and the checking state to request any necessary permissions for the code occurs elsewhere. So we should not do this check here.

@gaycodegal
Copy link
Contributor Author

Further investigation suggests the API 21+ version of this utility does nothing harmful and should request the correct permission. the SAFGuideActivity is even set up for API 30+

@gaycodegal gaycodegal mentioned this pull request Jan 28, 2024
@gaycodegal
Copy link
Contributor Author

I dont have an SD card myself to test it with, but currently the API 30+ functionality of the app just doesnt write files at all unless you had previously used the app in the API 21-29 and granted access to the SD card. So this change allows you to grant that permission in API 30+, as well as only showing the dialog if SD card is actually required. It defaults to just writing the file if it is allowed to write.

@soncaokim soncaokim merged commit b1b51d0 into VinylMusicPlayer:master Feb 4, 2024
@soncaokim soncaokim mentioned this pull request Feb 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants