Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Omnibox] Fix added for omnibox crashes when spannable autocomplete m…
…odel feature disabled and excessive recycled view pool flag is enabled. Regular autocomplete model (not the spannable one) will send a empty auto complete suggestion whenever the user tries to initiate the search and unfocus omnibox. Without RemoveExcessiveRecycledViewClearCalls feature, this case will be caught with logic check for `getSuggestionVisibilityState()` at the start of the function `onSuggestionsReceived`. And this CL added url bar focus check when auto complete model tries to provide any suggestions. Bug: 1373795 Change-Id: Ief91cc1872e51f2ba6faa829527a42c9af7a6083 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4021550 Reviewed-by: Tomasz Wiszkowski <ender@google.com> Commit-Queue: Rong Tan <rongtan@google.com> Cr-Commit-Position: refs/heads/main@{#1070629}
- Loading branch information