Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Privacy Guide: Fix crash on Activity recreation
The initial fragment state is not set in PrivacyGuideMetricsDelegate when te Fragment/Activity is recreated. This causes a crash when the user tries to navigate away from the current step by clicking the next button. This CL fixes that by correctly saving and restoring the initial fragment state in PrivacyGuideMetricsDelegate. (cherry picked from commit 5625802) Bug: 1446880, 1238896 Change-Id: I7b505548f106cf14515685053109364d26b9ac1e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4583513 Commit-Queue: Rubin Deliallisi <rubindl@chromium.org> Reviewed-by: Rohit Agarwal <roagarwal@chromium.org> Reviewed-by: Filipa Senra <fsenra@google.com> Code-Coverage: Findit <findit-for-me@appspot.gserviceaccount.com> Cr-Original-Commit-Position: refs/heads/main@{#1152523} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4591190 Auto-Submit: Rubin Deliallisi <rubindl@chromium.org> Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Cr-Commit-Position: refs/branch-heads/5790@{#366} Cr-Branched-From: 1d71a33-refs/heads/main@{#1148114}
- Loading branch information
Rubin Deliallisi
authored and
Chromium LUCI CQ
committed
Jun 5, 2023
1 parent
0f5fd41
commit 32d561c
Showing
3 changed files
with
125 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters