GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still and

Commit fbe73cfc authored by Jonathan Almeida's avatar Jonathan Almeida Committed by Jonathan Almeida
Browse files

For #17804: Use enterToImmersiveMode from support-ktx component

parent 157c41c2
......@@ -110,7 +110,6 @@ import org.mozilla.fenix.downloads.DynamicDownloadDialog
import org.mozilla.fenix.ext.accessibilityManager
import org.mozilla.fenix.ext.breadcrumb
import org.mozilla.fenix.ext.components
import org.mozilla.fenix.ext.enterToImmersiveMode
import org.mozilla.fenix.ext.getPreferenceKey
import org.mozilla.fenix.ext.hideToolbar
import org.mozilla.fenix.ext.metrics
......@@ -129,6 +128,7 @@ import java.lang.ref.WeakReference
import mozilla.components.feature.session.behavior.EngineViewBrowserToolbarBehavior
import mozilla.components.feature.webauthn.WebAuthnFeature
import mozilla.components.feature.session.behavior.ToolbarPosition as MozacToolbarPosition
......@@ -15,6 +15,13 @@ import mozilla.components.concept.base.crash.Breadcrumb
* We don't use the equivalent function from Android Components because the stable flag messes
* with the toolbar. See #1998 and #3272.
message = "Use the Android Component implementation instead.",
replaceWith = ReplaceWith(
fun Activity.enterToImmersiveMode() {
// This will be addressed on
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment