author | Lucas Rocha <lucasr@mozilla.com> |
Tue, 11 Jun 2013 17:57:45 +0100 | |
changeset 143315 | dc61bbe74149dcd4d860481ac118707cd8ac7fc5 |
parent 143314 | 33236a7d3ef52eef0ff8e886fb85f9cb12bc9543 |
child 143316 | 7875f965bb4cee4381626de9b3d82b7768d3683d |
push id | 25130 |
push user | lrocha@mozilla.com |
push date | Wed, 21 Aug 2013 09:41:27 +0000 |
treeherder | mozilla-central@b2486721572e [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | mfinkle |
bugs | 877870 |
milestone | 24.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/mobile/android/base/BrowserToolbar.java +++ b/mobile/android/base/BrowserToolbar.java @@ -752,17 +752,17 @@ public class BrowserToolbar implements T // won't change. Just reuse the old autocomplete value. useHandler = false; reuseAutocomplete = true; } } // If this is the autocomplete text being set, don't run the filter. if (TextUtils.isEmpty(mAutoCompleteResult) || !mAutoCompleteResult.equals(text)) { - if (mFilterListener != null) { + if (isEditing() && mFilterListener != null) { mFilterListener.onFilter(text, useHandler ? this : null); } mAutoCompletePrefix = text; if (reuseAutocomplete) { onAutocomplete(mAutoCompleteResult); } }