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

Show popup or other indication when Android permissions are set to unsupported values #75

Open
shawnhanna opened this issue Jun 19, 2017 · 1 comment

Comments

@shawnhanna
Copy link

shawnhanna commented Jun 19, 2017

Show a popup or something similar to ask for permission to change the Location/Storage/etc permissions when they are turned Off, when we need them to be on.

Currently causes crash when set to Off on tablet. Not obvious to check since normal android operation would have a permission request during first run/when permission is needed.

@shawnhanna
Copy link
Author

For point in code that crashes, look in current master, the problem is in TeleopPanel.java:2159
The LocationServices.FusedLocationApi value is null, so it's trying to derefernence that which causes the problem.
location = LocationServices.FusedLocationApi.getLastLocation();

@shawnhanna shawnhanna changed the title Popup when Android permissions are set to off Show popup or other indication when Android permissions are set to unsupported values Jun 19, 2017
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

No branches or pull requests

1 participant