[fenix] For https://github.com/mozilla-mobile/fenix/issues/25816: Ensure the "show...
commitcba8cc7a33ef04283ab3949c892a5178c1892dfd
authorMugurell <Mugurell@users.noreply.github.com>
Tue, 20 Dec 2022 17:07:53 +0000 (20 19:07 +0200)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 31 Jan 2023 20:04:23 +0000 (31 20:04 +0000)
treead555d061316e36b7d0b93f5ede931a3cca72491
parent3668a2ccff92d03a1e8ce210f95b74a6cb6170c7
[fenix] For https://github.com/mozilla-mobile/fenix/issues/25816: Ensure the "show search suggestions" user option is followed

Previously the check for the "Search -> Show search suggestions" user setting
was only used in the default SearchFragmentState but not again if users change
the current search engine as part of the unified search feature.
This comes to ensure that that check is always made when needing to configure
new search engine results.
mobile/android/fenix/app/src/main/java/org/mozilla/fenix/search/SearchDialogController.kt
mobile/android/fenix/app/src/main/java/org/mozilla/fenix/search/SearchDialogFragment.kt
mobile/android/fenix/app/src/main/java/org/mozilla/fenix/search/SearchFragmentStore.kt
mobile/android/fenix/app/src/test/java/org/mozilla/fenix/search/SearchDialogControllerTest.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/toolbar/SearchSelectorToolbarActionTest.kt