From db0f60ba3d6498b27e406d244b0eac43a5119636 Mon Sep 17 00:00:00 2001 From: Sergej Kravcenko Date: Wed, 21 Oct 2015 19:50:15 +0300 Subject: [PATCH] Bug 1210534 - Search suggestions are not refreshed after single character entered into search field --HG-- extra : commitid : KhoOIuIIc0U extra : rebase_source : e7c0620c5c9016a765b3926fb512e362546c6cf2 --- mobile/android/base/home/BrowserSearch.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mobile/android/base/home/BrowserSearch.java b/mobile/android/base/home/BrowserSearch.java index 683c1dc9fd59..8f0e7bda3016 100644 --- a/mobile/android/base/home/BrowserSearch.java +++ b/mobile/android/base/home/BrowserSearch.java @@ -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.