Fix blank search engine promo on the FRE.
By default the view pager only keeps one page to either side of the current page, which results in the FRE pages being regenerated. This causes the search promo to become invalid as it has been shown and the user successfully choose an option. As a two step mitigation, we up the number of pages kept to be able to support the current FRE. Then we also add additional logic that will just skip the page if it is somehow able to get into the invalid state again. BUG=740897 Change-Id: I889900ce20d06248ca95765c54dbc84a60be4f5e Reviewed-on: https://chromium-review.googlesource.com/567420Reviewed-by:Yusuf Ozuysal <yusufo@chromium.org> Commit-Queue: Ted Choc <tedchoc@chromium.org> Cr-Commit-Position: refs/heads/master@{#487136}
Showing
Please register or sign in to comment