Fix Pages chip showing up at wrong time.
The pages chip in downloads home was showing up even though the pages were prefetched and did not show up in "My Files". This was because we were considering the suggested pages as PAGES for filter purposes and keeping the chip visible. We now consider all suggested content as PREFETCHED for the purpose of the chips. This is NOT baked into the base Filters.fromOfflineItem(OfflineItemFilter) logic because we do not want to restrict the suggested tag to only pages. Change-Id: Iad2c74b7efd2f55cab06a15e6883d3e8cc0df73e Reviewed-on: https://chromium-review.googlesource.com/1152234Reviewed-by:Shakti Sahu <shaktisahu@chromium.org> Commit-Queue: Shakti Sahu <shaktisahu@chromium.org> Cr-Commit-Position: refs/heads/master@{#579385}
Showing
Please register or sign in to comment