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

android: use a coroutine for loadfiles #551

Merged
merged 1 commit into from
Oct 31, 2024
Merged

android: use a coroutine for loadfiles #551

merged 1 commit into from
Oct 31, 2024

Conversation

kari-ts
Copy link
Collaborator

@kari-ts kari-ts commented Oct 31, 2024

contentResolver.query is attempting to perform a network query on the main thread. Move this to a coroutine to prevent blocking.

Fixes tailscale/corp#24293

contentResolver.query is attempting to perform a network query on the main thread. Move this to a coroutine to prevent blocking.

Fixes tailscale/corp#24293

Signed-off-by: kari-ts <[email protected]>
@kari-ts kari-ts requested a review from barnstar October 31, 2024 17:34
Copy link
Collaborator

@agottardo agottardo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kari-ts kari-ts merged commit ba306bf into main Oct 31, 2024
4 checks passed
@kari-ts kari-ts deleted the kari/loadfiles branch October 31, 2024 20:37
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.

2 participants