Bug 933739 - Use given search term in handleAutocomplete, not mSearchTerm (r=bnicholson)

This commit is contained in:
Lucas Rocha 2013-12-05 23:50:13 -05:00
parent f36184cb78
commit 859da07837

View File

@ -327,7 +327,7 @@ public class BrowserSearch extends HomeFragment
private void handleAutocomplete(String searchTerm, Cursor c) {
if (c == null ||
mAutocompleteHandler == null ||
TextUtils.isEmpty(mSearchTerm)) {
TextUtils.isEmpty(searchTerm)) {
return;
}