Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[iOS] Migrate OverflowMenu ranking to new pref and prevent wiping it
There was a bug where the DestinationUsageHistory would wipe and re- write the kOverflowMenuDestinationUsageHistory pref without filling in the ranking, and the OverflowMenuOrderer might not get a chance to add the ranking list back in. This solves the issue in two ways. First, DestinationUsageHistory carries over any stored ranking in the pref when it's writing prefs back out. Second, OverflowMenuOrderer migrates the ranking to a new separate pref key. (cherry picked from commit cc42a3d) Bug: 1448271 Change-Id: Ib811a3c96771e6d0a1d39c4b7699458d6fe1fc05 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4557210 Reviewed-by: Benjamin Williams <bwwilliams@google.com> Reviewed-by: Rohit Rao <rohitrao@chromium.org> Commit-Queue: Robbie Gibson <rkgibson@google.com> Cr-Original-Commit-Position: refs/heads/main@{#1151333} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4594118 Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Cr-Commit-Position: refs/branch-heads/5790@{#508} Cr-Branched-From: 1d71a33-refs/heads/main@{#1148114}
- Loading branch information
Showing
8 changed files
with
98 additions
and
21 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
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