Address breaking changes in A-C 100.0.20220324222826

This commit is contained in:
Christian Sadilek 2022-03-24 19:21:04 -04:00 committed by mergify[bot]
parent be3450cea5
commit 47f55924e1
5 changed files with 5 additions and 6 deletions

View File

@ -790,7 +790,6 @@ abstract class BaseBrowserFragment :
webchannelIntegration.set(
feature = FxaWebChannelFeature(
requireContext(),
customTabSessionId,
requireComponents.core.engine,
requireComponents.core.store,

View File

@ -44,14 +44,14 @@ class IntentProcessors(
* Provides intent processing functionality for ACTION_VIEW and ACTION_SEND intents.
*/
val intentProcessor by lazyMonitored {
TabIntentProcessor(tabsUseCases, sessionUseCases.loadUrl, searchUseCases.newTabSearch, isPrivate = false)
TabIntentProcessor(tabsUseCases, searchUseCases.newTabSearch, isPrivate = false)
}
/**
* Provides intent processing functionality for ACTION_VIEW and ACTION_SEND intents in private tabs.
*/
val privateIntentProcessor by lazyMonitored {
TabIntentProcessor(tabsUseCases, sessionUseCases.loadUrl, searchUseCases.newTabSearch, isPrivate = true)
TabIntentProcessor(tabsUseCases, searchUseCases.newTabSearch, isPrivate = true)
}
val customTabIntentProcessor by lazyMonitored {

View File

@ -283,7 +283,7 @@ class BookmarkSearchDialogFragment : AppCompatDialogFragment(), UserInteractionH
if (voiceSearchButtonAlreadyAdded || !shouldShowVoiceSearch) return
toolbarView.view.addEditAction(
toolbarView.view.addEditActionEnd(
BrowserToolbar.Button(
imageDrawable = AppCompatResources.getDrawable(requireContext(), R.drawable.ic_microphone)!!,
contentDescription = requireContext().getString(R.string.voice_search_content_description),

View File

@ -285,7 +285,7 @@ class HistorySearchDialogFragment : AppCompatDialogFragment(), UserInteractionHa
if (voiceSearchButtonAlreadyAdded || !shouldShowVoiceSearch) return
toolbarView.view.addEditAction(
toolbarView.view.addEditActionEnd(
BrowserToolbar.Button(
imageDrawable = AppCompatResources.getDrawable(requireContext(), R.drawable.ic_microphone)!!,
contentDescription = requireContext().getString(R.string.voice_search_content_description),

View File

@ -636,7 +636,7 @@ class SearchDialogFragment : AppCompatDialogFragment(), UserInteractionHandler {
requireContext().settings().shouldShowVoiceSearch
if (isVisible) {
toolbarView.view.addEditAction(
toolbarView.view.addEditActionEnd(
BrowserToolbar.Button(
AppCompatResources.getDrawable(requireContext(), R.drawable.ic_microphone)!!,
requireContext().getString(R.string.voice_search_content_description),