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

Avoid flagging internal positioning device as invalid caused by access error, cleanup positioning includes #5323

Merged
merged 2 commits into from
Jun 15, 2024

Conversation

nirvn
Copy link
Member

@nirvn nirvn commented Jun 9, 2024

The macos spix tests already revealed something interesting: on that platform, when creating the internal positioning device, we get an AccessError (as permission has not yet been asked to the user). However in our code, we invalidate the device upon creation when any error is detected. This PR addresses that by allowing for the device to be created, allowing for users to ask for permission afterwards when turning the positioning on.

I've also taken the opportunity to cleanup obsolete includes.

@nirvn nirvn force-pushed the macos_access_header_cleanuo branch from f51229f to 6ce418d Compare June 9, 2024 05:54
@qfield-fairy
Copy link
Collaborator

@nirvn nirvn enabled auto-merge (rebase) June 9, 2024 06:46
@nirvn nirvn disabled auto-merge June 15, 2024 09:35
@nirvn nirvn merged commit e235d02 into master Jun 15, 2024
23 checks passed
@nirvn nirvn deleted the macos_access_header_cleanuo branch June 15, 2024 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants