Skip to content

Conversation

@dixidroid
Copy link
Contributor

Description

Fix IllegalStateException on supportFragmentManager.popBackStack()

  • Ensure MutableStateFlow is lifecycle-aware by utilizing collectAsStateWithLifecycle.

Steps to reproduce:

  • Login in the app.
  • Open any course.
  • Start downloading any video.
  • Open the video downloading Queue screen.
  • Move the app in the background before completing the video download.
  • App leads to crash after completing video download when the app is in the background.

Note: Make sure the following options are enabled from the Developer options.

  • Always show crash dialog.
  • Show background ANRs.

dixidroid and others added 2 commits October 4, 2024 08:54
Update the develop branch with the latest changes
- Ensure `MutableStateFlow` is lifecycle-aware by utilizing `collectAsStateWithLifecycle`.
@volodymyr-chekyrta volodymyr-chekyrta merged commit f66b3f2 into openedx:develop Oct 7, 2024
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.

2 participants