Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content

fix: Fix ANR spotted by sentry

Jonathan Klee requested to merge 0000-t-fix-ANR into main

Description

Fix ANR spotted by sentry: https://murena-sas.sentry.io/issues/5845828831/?project=4504355890724864&query=mechanism%3A%5BANR%2CAppExitInfo%5D&referrer=issue-stream&sort=freq&statsPeriod=14d&stream_index=0

Screenshots

Technical details

Make sure coroutine is executed on IO thread.

Tests

Issues

10 commandments of code reviews

👪 https://gitlab.e.foundation/internal/wiki/-/wikis/mobile-team/guidelines/Code-review

Summary by CodeRabbit

  • Performance Improvements
    • Enhanced responsiveness of the app by optimizing coroutine operations for I/O-bound tasks in the MainActivity and MainActivityViewModel, ensuring smoother user interactions during updates and installations.
Edited by CodeRabbitAI

Merge request reports

Loading