[Launcher settings] Handle canonical and alternate results.
Settings results now fall into two categories: those matching the 'canonical' name for a setting (eg. powerwash) and those matching an 'alternate' name for a setting (eg. factory reset). We need to handle these differently: alternate matches get extra filtering on the query length and relevance score. However, we always want to show the canonical result name, even if the result matches the alternate name. This CL also adds a couple of short-term TODOs for remaining settings search work. Bug: 1068851 Change-Id: Ief1eb3dbaa3efd28293e7311c5e641b09185bfe4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2237531 Commit-Queue: Tony Yeoman <tby@chromium.org> Reviewed-by:Rachel Wong <wrong@chromium.org> Cr-Commit-Position: refs/heads/master@{#776859}
Showing
Please register or sign in to comment