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

GPS is kept on while app is in background #1729

Closed
Helium314 opened this issue Feb 10, 2020 · 1 comment
Closed

GPS is kept on while app is in background #1729

Helium314 opened this issue Feb 10, 2020 · 1 comment
Assignees
Labels

Comments

@Helium314
Copy link
Collaborator

Since the update to version 17, GPS remains on until I close the app (i.e. swipe it away in recents).
But if I close the app while it is scanning for quests, GPS stays on even after scanning has finished. The app needs to be opened and closed again to stop GPS.

Street complete 17 (fdroid)
Android 7 (AOKP, based on LineageOS 14.1)
Samsung S4 mini

@Helium314 Helium314 added the bug label Feb 10, 2020
@westnordost westnordost self-assigned this Feb 10, 2020
@westnordost
Copy link
Member

Ok, the problem was that the one-shot "give me the current location once" call that would result in the GPS icon on the lower right corner to stop blinking was not cancelled on pause.

While fixing this, I also removed the dependency to LOST because that library is not maintained anymore and anyway has quite a complicated API without offering any advantages over simply using the builtin components.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants