Bug 867650 - Update awesomescreen results correctly when there's so autocomplete text. r=wesj

This commit is contained in:
Margaret Leibovic 2013-05-06 16:14:01 -04:00
parent 54bcba9c99
commit d41fc3570b

View File

@ -788,7 +788,7 @@ public class AwesomeBar extends GeckoActivity
}
// If this is the autocomplete text being set, don't run the filter.
if (mAutoCompleteResult == null || !mAutoCompleteResult.equals(text)) {
if (TextUtils.isEmpty(mAutoCompleteResult) || !mAutoCompleteResult.equals(text)) {
mAwesomeTabs.filter(text, useHandler ? this : null);
mAutoCompletePrefix = text;