Special case searching in incognito mode
Bug: 3336558
The default flow when the user hits enter in UrlInputView is handled
by IntentHandler. If the input isn't a URL, it is treated as a search
request, which is causes an intent to be fired off from the search
engine. This is logged, which we can't have in incognito mode. For now,
handle this by having the UrlInputView detect search requests, lookup
the search engine info, and use that to build the search request URL
directly, previnting logging.
Change-Id: I4b98240f4b2aff265638b53cb65677bc1bd507c0
2 files changed