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

ANR in NotificationState in updateQueuedEvents #8454

Closed
BillCarsonFr opened this issue May 22, 2023 · 0 comments · Fixed by #8461
Closed

ANR in NotificationState in updateQueuedEvents #8454

BillCarsonFr opened this issue May 22, 2023 · 0 comments · Fixed by #8461
Assignees

Comments

@BillCarsonFr
Copy link
Member

BillCarsonFr commented May 22, 2023

Update queued event is called indirectly on onResume of TImelineFragment

        notificationDrawerManager.setCurrentRoom(timelineArgs.roomId)
        notificationDrawerManager.setCurrentThread(timelineArgs.threadTimelineArgs?.rootThreadEventId)

updateQueuedEvents can block because it's synchronising on synchronized(queuedEvents)

We have several reports of ANR on that

ANR for at least 5000 ms

Might be one of the sources of #8446

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 a pull request may close this issue.

1 participant