Skip to content

fix(startup): move CameraX initialization off main thread#679

Merged
bmc08gt merged 1 commit intocode/cashfrom
fix/camerax-initializer-main-thread-blocking
May 5, 2026
Merged

fix(startup): move CameraX initialization off main thread#679
bmc08gt merged 1 commit intocode/cashfrom
fix/camerax-initializer-main-thread-blocking

Conversation

@bmc08gt
Copy link
Copy Markdown
Collaborator

@bmc08gt bmc08gt commented May 5, 2026

Dispatch ProcessCameraProvider.getInstance() to Dispatchers.IO to avoid blocking the main thread during ContentProvider initialization.

Dispatch ProcessCameraProvider.getInstance() to Dispatchers.IO to
avoid blocking the main thread during ContentProvider initialization.

Signed-off-by: Brandon McAnsh <git@bmcreations.dev>
@bmc08gt bmc08gt self-assigned this May 5, 2026
@github-actions github-actions Bot added the type: fix Bug fix label May 5, 2026
@bmc08gt bmc08gt merged commit 81b0401 into code/cash May 5, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: fix Bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant