app_list search results relevance scores are clamped to [0, 1] range.
Since the scores come from an external service, they should be forced into the [0, 1] range, instead of assuming they are in that range. (We cannot accept any arbitrary score, because then that would allow the service to prioritize its results over other services, and would also break the "known results" prioritization scheme.) BUG=456641 Review URL: https://codereview.chromium.org/906133003 Cr-Commit-Position: refs/heads/master@{#315275}
Showing
Please register or sign in to comment