diff --git a/app/src/main/java/org/mozilla/fenix/browser/BaseBrowserFragment.kt b/app/src/main/java/org/mozilla/fenix/browser/BaseBrowserFragment.kt index 1dcbc88d58ca..aac7da1929d5 100644 --- a/app/src/main/java/org/mozilla/fenix/browser/BaseBrowserFragment.kt +++ b/app/src/main/java/org/mozilla/fenix/browser/BaseBrowserFragment.kt @@ -2386,7 +2386,7 @@ abstract class BaseBrowserFragment : if (webAppToolbarShouldBeVisible) { browserToolbarView.visible() _bottomToolbarContainerView?.toolbarContainerView?.isVisible = true - reinitializeEngineView(inFullScreen) + reinitializeEngineView() browserToolbarView.expand() _bottomToolbarContainerView?.toolbarContainerView?.expand() } diff --git a/app/src/main/java/org/mozilla/fenix/components/Components.kt b/app/src/main/java/org/mozilla/fenix/components/Components.kt index b7255b96eb34..a4967389df5c 100644 --- a/app/src/main/java/org/mozilla/fenix/components/Components.kt +++ b/app/src/main/java/org/mozilla/fenix/components/Components.kt @@ -23,6 +23,7 @@ import mozilla.components.support.base.worker.Frequency import org.mozilla.fenix.BuildConfig import org.mozilla.fenix.Config import org.mozilla.fenix.R +import org.mozilla.fenix.ext.settings import org.mozilla.fenix.autofill.AutofillConfirmActivity import org.mozilla.fenix.autofill.AutofillSearchActivity import org.mozilla.fenix.autofill.AutofillUnlockActivity diff --git a/app/src/main/java/org/mozilla/fenix/home/HomeFragment.kt b/app/src/main/java/org/mozilla/fenix/home/HomeFragment.kt index 359dd593d7a1..66942bbfbc9b 100644 --- a/app/src/main/java/org/mozilla/fenix/home/HomeFragment.kt +++ b/app/src/main/java/org/mozilla/fenix/home/HomeFragment.kt @@ -1618,14 +1618,6 @@ class HomeFragment : Fragment() { activity?.openSetDefaultBrowserOption() } - @VisibleForTesting - internal fun showSetAsDefaultBrowserPrompt() { - val settings = requireContext().settings() - settings.setAsDefaultPromptCalled() - - activity?.openSetDefaultBrowserOption() - } - companion object { // Used to set homeViewModel.sessionToDelete when all tabs of a browsing mode are closed const val ALL_NORMAL_TABS = "all_normal"