Commit 890c4935 authored by Matthew Finkel's avatar Matthew Finkel Committed by Matthew Finkel
Browse files

Bug 31720: Enable website suggestions in address bar

parent 6113f8f4
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1422,7 +1422,9 @@ public class BrowserApp extends GeckoApp
        // Website suggestions for address bar inputs should not be enabled when running in automation.
        // After the upgrade to support library v.26 it could fail otherwise unrelated Robocop tests
        // See https://bugzilla.mozilla.org/show_bug.cgi?id=1385464#c3
        if (!isInAutomation) {
        // But only disable it when this isn't Tor Browser, because isInAutomation is overloaded such
        // that it is |true| in Tor Browser.
        if (!isInAutomation || AppConstants.isTorBrowser()) {
            mBrowserToolbar.setOnFilterListener(new BrowserToolbar.OnFilterListener() {
                @Override
                public void onFilter(String searchText, AutocompleteHandler handler) {