Bug 1210534 - Search suggestions are not refreshed after single character entered into search field

--HG--
extra : commitid : KhoOIuIIc0U
extra : rebase_source : e7c0620c5c9016a765b3926fb512e362546c6cf2
This commit is contained in:
Sergej Kravcenko 2015-10-21 19:50:15 +03:00
parent fd0911db0b
commit db0f60ba3d

View File

@ -815,7 +815,7 @@ public class BrowserSearch extends HomeFragment
mSearchTerm = searchTerm;
mAutocompleteHandler = handler;
if (isVisible()) {
if (mAdapter != null) {
if (isNewFilter) {
// The adapter depends on the search term to determine its number
// of items. Make it we notify the view about it.