This migrates sample-browser to stop using SearchEngineManager. For that I hide the provider of the default search engine behind an interface. This is a temporary solution until we have all apps using the SearchEngine from BrowserStore. After that we can get rid of that and make all our components use BrowserStore directly. I tested this in Fenix too and have a matching patch locally. Once this lands we should be able to migrate Reference Browser too.
Android Components > Browser > Search
Search plugins and companion code to load, parse and use them.
Usage
Setting up the dependency
Use Gradle to download the library from maven.mozilla.org (Setup repository):
implementation "org.mozilla.components:browser-search:{latest-version}"
License
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/