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

fix: IllegalStateException on supportFragmentManager.popBackStack() #379

Merged

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
4 checks passed
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