|
|
|
@ -56,6 +56,7 @@ import mozilla.components.support.base.feature.PermissionsFeature
|
|
|
|
|
import mozilla.components.support.base.feature.UserInteractionHandler
|
|
|
|
|
import mozilla.components.support.base.feature.ViewBoundFeatureWrapper
|
|
|
|
|
import mozilla.components.support.ktx.android.view.exitImmersiveModeIfNeeded
|
|
|
|
|
import mozilla.components.support.ktx.android.view.hideKeyboard
|
|
|
|
|
import org.mozilla.fenix.FeatureFlags
|
|
|
|
|
import org.mozilla.fenix.HomeActivity
|
|
|
|
|
import org.mozilla.fenix.IntentReceiverActivity
|
|
|
|
@ -553,6 +554,9 @@ abstract class BaseBrowserFragment : Fragment(), UserInteractionHandler, Session
|
|
|
|
|
@CallSuper
|
|
|
|
|
final override fun onPause() {
|
|
|
|
|
super.onPause()
|
|
|
|
|
if (findNavController().currentDestination?.id != R.id.searchFragment) {
|
|
|
|
|
view?.hideKeyboard()
|
|
|
|
|
}
|
|
|
|
|
fullScreenFeature.onBackPressed()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|