1
0
Fork 0
fenix/app/src/main/java/org/mozilla/fenix/components/searchengine
Mugurell ea10d2a872 For #11875 - Prevent mixup of region / locale based search engines
We have two search engine types:
- one based on MLS reported region,
- one based only on Locale.

There are multiple steps involved in returning the default search engine for
example and though at each step we could verify if a certain operation is
completed we are still exposed to concurrency issues.
Simplest and most effective way to make sure the MLS engines do not mix with
Locale based engines is to use the same type of engines for the entire duration
of the app. At the next cold start we'll verify again which engines to use.

Using the Locale based engines (fallbacks) is expected to only happen once, at
the first run of the application after being installed.
2020-07-13 13:41:34 +03:00
..
CustomSearchEngineStore.kt For #9425 - SearchFragment now reacts to undo operation for base engines 2020-06-26 13:21:00 +03:00
FenixSearchEngineProvider.kt For #11875 - Prevent mixup of region / locale based search engines 2020-07-13 13:41:34 +03:00
SearchEngineWriter.kt fix #8135 - remove getColorFromAttr 2020-03-02 15:48:33 -07:00