Bug 1831497 - [a11y] Dictate correct hint when selecting engine
commitdbd707dcc7de49e145599fa27a5a053543c5eb20
authorDreVla <vlad.dreghici@gmail.com>
Thu, 18 May 2023 14:23:33 +0000 (18 17:23 +0300)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 31 May 2023 14:27:44 +0000 (31 14:27 +0000)
tree11a43b22951db89fd5ae9aaec1917578f3f354dd
parent3f4c95a0ab12ef65e67b7c64fa0fcc3b713ff1cc
Bug 1831497 - [a11y] Dictate correct hint when selecting engine

In order for talkback to correctly dictate the hint for a newly
selected search engine in the search toolbar, it required setting
it when updating the content description of the toolbar.
Previously, when updating the content description, it was using
the previous search engine hint.
mobile/android/fenix/app/src/main/java/org/mozilla/fenix/search/SearchDialogFragment.kt
mobile/android/fenix/app/src/main/java/org/mozilla/fenix/search/toolbar/ToolbarView.kt
mobile/android/fenix/app/src/test/java/org/mozilla/fenix/search/toolbar/ToolbarViewTest.kt