Skip to content

fix: ANR account access on main thread in file transfers - #5066

Open
jesmrec wants to merge 2 commits into
masterfrom
fix/anr_account_access_on_main_thread
Open

jesmrec wants to merge 2 commits into
masterfrom
fix/anr_account_access_on_main_thread

Conversation

@jesmrec

@jesmrec jesmrec commented Nov 27, 2026 •

Copy link
Copy Markdown
Member

When a file transfer completes, the app was reading the current account information on the main thread. This operation can take longer than expected under certain conditions, blocking the UI and causing an ANR dialog. The fix moves that account read to a background thread so the UI stays responsive at all times.

Related Issues

App:

  • Add changelog files for the fixed issues in folder changelog/unreleased. More info here
  • Add feature to Release Notes in ReleaseNotesViewModel.kt creating a new ReleaseNote() with String resources (if required)

QA

Signed-off-by: Jesus Recio <jrecio@izertis.com>
Signed-off-by: Jesus Recio <jrecio@izertis.com>
@jesmrec
jesmrec force-pushed the fix/anr_account_access_on_main_thread branch from 156c58d to 585c890 Compare November 27, 2026 13:08
@jesmrec jesmrec self-assigned this Nov 27, 2026
@jesmrec
jesmrec marked this pull request as ready for review November 30, 2026 10:33
@jesmrec
jesmrec requested a review from a team as a code owner November 30, 2026 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant