Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix infinite spinner on welcome page
When the spinner becomes visible when welcome page is pending on proceed to the next page, we never switch it back to show ToS. As a result, when user navigate to the previous page by pack pressing the small spinner will stay there forever. This fix introduce a "reset" method to all FRE fragment. When pages are revisited through backpress, we'll reset the fragment UI to how it supposed to look like. For the case of welcome screen, we'll show the ToS and UMA checkbox if applicable. Change-Id: I1acf9f530efacf4650720d6c3a1f1eb83cac1823 Bug: 1192854 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2787669 Commit-Queue: Wenyu Fu <wenyufu@chromium.org> Reviewed-by: Sky Malice <skym@chromium.org> Cr-Commit-Position: refs/heads/master@{#869254}
- Loading branch information
Showing
4 changed files
with
59 additions
and
3 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
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