[fenix] For https://github.com/mozilla-mobile/fenix/issues/25816: Filter history...
commit03d7e72f38b6ae8c314c56ec9d62ba4d2244468e
authorMugurell <Mugurell@users.noreply.github.com>
Wed, 9 Nov 2022 17:06:02 +0000 (9 19:06 +0200)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 31 Jan 2023 20:04:23 +0000 (31 20:04 +0000)
tree3db1071e808ac6f1502535e8f7f1d4a413d030ab
parent79c8e37777bef64c43d081d75c845860ff36d548
[fenix] For https://github.com/mozilla-mobile/fenix/issues/25816: Filter history suggestions depending on the selected search engine

If the current search engine is not one added by the application and not the
default one then:
- if it is a topic specific one show history from just the it's host domain
- if it is a general one then don't show history at all
- if it is the default search engine then show all history.
mobile/android/fenix/app/src/main/java/org/mozilla/fenix/search/SearchFragmentStore.kt
mobile/android/fenix/app/src/main/java/org/mozilla/fenix/search/awesomebar/AwesomeBarView.kt
mobile/android/fenix/app/src/test/java/org/mozilla/fenix/search/SearchFragmentStoreTest.kt
mobile/android/fenix/app/src/test/java/org/mozilla/fenix/search/awesomebar/AwesomeBarViewTest.kt [new file with mode: 0644]
mobile/android/fenix/app/src/test/java/org/mozilla/fenix/search/toolbar/SearchSelectorToolbarActionTest.kt
mobile/android/fenix/app/src/test/java/org/mozilla/fenix/search/toolbar/ToolbarViewTest.kt