Commit d2af54b5 authored by Ted Choc's avatar Ted Choc Committed by Commit Bot

Update error message in SearchEngineAdapter.

This aims to determine if the search engine is null or
some actual value.

BUG=944767

Change-Id: I7145903f77c0722fe1846f4b17a0ea9ea36f3a77
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1881969Reviewed-by: default avatarNatalie Chouinard <chouinard@chromium.org>
Commit-Queue: Ted Choc <tedchoc@chromium.org>
Cr-Commit-Position: refs/heads/master@{#710060}
parent 55f16ff2
......@@ -201,8 +201,9 @@ public class SearchEngineAdapter extends BaseAdapter
}
if (mSelectedSearchEnginePosition == -1) {
throw new IllegalStateException(
"Default search engine index did not match any available search engines.");
throw new IllegalStateException("Default search engine, "
+ defaultSearchEngineTemplateUrl
+ ", index did not match any available search engines.");
}
mInitialEnginePosition = mSelectedSearchEnginePosition;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment