Skip to content

Navigation: remove the NavArgs workaround#6093

Merged
kidinov merged 1 commit intotrunkfrom
navigation-remove-workaround
Mar 25, 2022
Merged

Navigation: remove the NavArgs workaround#6093
kidinov merged 1 commit intotrunkfrom
navigation-remove-workaround

Conversation

@hichamboushaba
Copy link
Copy Markdown
Member

Description

The beta version of navigation had a bug that prevented restoring custom Parcelables from the saved state, which resulted in using a #5307 to prevent the crash.
Now, that we updated the navigation to 2.4.1 which contains Google's fix for the bug we reported, we can safely remove the workaround.

Testing instructions

Confirm the previous bug is fixed:

  1. Enable "Don't keep activities" from the developer options.
  2. Open Product Images screen of one of the products.
  3. Navigate to another app, then re-open the app.
  4. Confirm that the app doesn't crash.
  • I have considered if this change warrants user-facing release notes and have added them to RELEASE-NOTES.txt if necessary.

@hichamboushaba hichamboushaba added the type: task An internally driven task. label Mar 25, 2022
@hichamboushaba hichamboushaba added this to the 8.9 milestone Mar 25, 2022
@hichamboushaba hichamboushaba requested a review from kidinov March 25, 2022 11:11
@hichamboushaba hichamboushaba marked this pull request as ready for review March 25, 2022 11:12
@hichamboushaba hichamboushaba mentioned this pull request Mar 25, 2022
1 task
@kidinov kidinov self-assigned this Mar 25, 2022
@kidinov kidinov added the type: technical debt Represents or solves tech debt of the project. label Mar 25, 2022
Copy link
Copy Markdown
Contributor

@kidinov kidinov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for taking care of this. LGTM

@kidinov kidinov merged commit befd28e into trunk Mar 25, 2022
@kidinov kidinov deleted the navigation-remove-workaround branch March 25, 2022 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: task An internally driven task. type: technical debt Represents or solves tech debt of the project.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants