[Suggested files] Fix ranking issue on branded builds
There are two issues affecting suggested files ranking only on branded builds: 1. Some arc apps return apps all with the same score. This is unexpected and crowds out files, which are ranked by slotting file results between app results (for legacy reasons) 2. Policy chips like continue reading, assistant, arc reinstall, or the release notes aren't accounted for when determining the number of chips available for ranked results, also leading to files being crowded out. This CL fixes these issues with minor tweaks to the ranking algorithm. Bug: 1124452 Change-Id: Ie6ac40797d5dca1ac47eac131ca5c0cbf76048bf Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2395319Reviewed-by:Rachel Wong <wrong@chromium.org> Commit-Queue: Tony Yeoman <tby@chromium.org> Cr-Commit-Position: refs/heads/master@{#804845}
Showing
Please register or sign in to comment