-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Merge M57] Fix import legacy, pref based pins.
This CL contains 2 fixes for importing legacy pref based pins. 1. Import may happen at the moment when profile is not synced yet and in last case it does not actually contain information from previous bulds. 2. Importing ignores apps that currently are not installed. This leads to situation that we loose pin information for such apps and in case apps are installed later they do not appear pinned. Solution is to import all existings apps in prefs. BUG=680821 TEST=Clearn app sync server data. Login on M52 and do some pinning. Next login on M55 and pin additional app. Next login to ToT and observe that pin is restored for existing apps and pins appear automatically once apps are installed later. TBR=stevenjb@chromium.org NOTRY=true NOPRESUBMIT=true Review-Url: https://codereview.chromium.org/2646973003 Cr-Commit-Position: refs/heads/master@{#445398} (cherry picked from commit d8cc9d2) Review-Url: https://codereview.chromium.org/2655553002 Cr-Commit-Position: refs/branch-heads/2987@{#51} Cr-Branched-From: ad51088-refs/heads/master@{#444943}
- Loading branch information
khmel
authored and
Commit bot
committed
Jan 24, 2017
1 parent
1995096
commit 9329198
Showing
4 changed files
with
135 additions
and
32 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
Oops, something went wrong.