Skip to content

Avoiding ANR that may occur during login#3192

Open
DaVinci9196 wants to merge 1 commit intomicrog:masterfrom
DaVinci9196:fix_login_anr_issue
Open

Avoiding ANR that may occur during login#3192
DaVinci9196 wants to merge 1 commit intomicrog:masterfrom
DaVinci9196:fix_login_anr_issue

Conversation

@DaVinci9196
Copy link
Contributor

Some users have reported LoginActivity ANR, which is suspected to be related to this issue.

@mar-v-in
Copy link
Member

Task.await() is a non-blocking kotlin coroutine. It shouldn't be able to trigger ANRs. Can you provide more details on the issue you have seen in LoginActivity ANR?

@mar-v-in mar-v-in added this to the 0.3.13 milestone Jan 10, 2026
@mar-v-in
Copy link
Member

mar-v-in commented Mar 18, 2026

Can you provide a way to reproduce this issue, so we can confirm this PR fixes it?

@DaVinci9196
Copy link
Contributor Author

Can you provide a way to reproduce this issue, so we can confirm this PR fixes it?

No reproducible path has been found, so it's unclear whether it has been fixed. However, multiple tests based on this PR did not detect ANR.

@ale5000-git
Copy link
Member

I haven't verified exactly but 5 seconds may be too low for old devices.

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.

3 participants