[Feed] Fix handling of pref change.
Previously we assumed the PrefChangeRegistrar would only notify on an actual change, and an assert was in the code to verify this was the case. However, that assumption turned out to be incorrect, and this notification was called during sign in/out when the value was staying true. This would cause the entire article section of the NTP to be removed until chrome was restarted. Typically occur for dasher accounts. Bug: 934335 Change-Id: I67a6dbfe17a73208b85f91ce195e1d4ceb589563 Reviewed-on: https://chromium-review.googlesource.com/c/1481731Reviewed-by:Filip Gorski <fgorski@chromium.org> Commit-Queue: Sky Malice <skym@chromium.org> Cr-Commit-Position: refs/heads/master@{#634312}
Showing
Please register or sign in to comment