Skip to content

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