For #14609 - Correct nav from new search experience to browser

pull/72/head
ekager 4 years ago committed by Emily Kager
parent 85cb74a3c9
commit e80b46ced0

@ -229,7 +229,7 @@ class SearchDialogFragment : AppCompatDialogFragment(), UserInteractionHandler {
SupportUtils.SumoTopic.SEARCH_SUGGESTION SupportUtils.SumoTopic.SEARCH_SUGGESTION
), ),
newTab = store.state.tabId == null, newTab = store.state.tabId == null,
from = BrowserDirection.FromSearch from = BrowserDirection.FromSearchDialog
) )
} }
@ -331,7 +331,7 @@ class SearchDialogFragment : AppCompatDialogFragment(), UserInteractionHandler {
.openToBrowserAndLoad( .openToBrowserAndLoad(
searchTermOrURL = result, searchTermOrURL = result,
newTab = store.state.tabId == null, newTab = store.state.tabId == null,
from = BrowserDirection.FromSearch from = BrowserDirection.FromSearchDialog
) )
dialog.dismiss() dialog.dismiss()
} }

Loading…
Cancel
Save