mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 816781 - Call notifyDataSetChanged() sooner when getting search engines. r=lucasr
This commit is contained in:
parent
9553fc7896
commit
07efb6d6cd
@ -562,6 +562,7 @@ public class AllPagesTab extends AwesomeBarTab implements GeckoEventListener {
|
||||
mSearchEngines.add(new SearchEngine(name, icon));
|
||||
}
|
||||
}
|
||||
mCursorAdapter.notifyDataSetChanged();
|
||||
|
||||
// show suggestions opt-in if user hasn't been prompted
|
||||
if (!suggestionsPrompted && mSuggestClient != null) {
|
||||
@ -571,7 +572,6 @@ public class AllPagesTab extends AwesomeBarTab implements GeckoEventListener {
|
||||
Log.e(LOGTAG, "Error getting search engine JSON", e);
|
||||
}
|
||||
|
||||
mCursorAdapter.notifyDataSetChanged();
|
||||
filterSuggestions(mSearchTerm);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user