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

Bugfix: improve branching logic and permissions comments #94

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

andrewhavens
Copy link

This PR fixes a bug in the placement of code that was intended to be within a try/catch block. It also improves and simplifies the logic and comments around requesting permissions for specific Android versions. Basically, I ran into a bug that was hard to figure out because the code was difficult to understand. I later learned that newer versions of Android (6.0.1+) no longer need to request permission to write to settings, but this wasn't clear enough in the code.

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.

1 participant