For #25179 - Display a save or update credit card prompt
This commit is contained in:
parent
7aa3538e5a
commit
63ca6791c1
|
@ -128,6 +128,7 @@ import java.lang.ref.WeakReference
|
||||||
import mozilla.components.feature.session.behavior.EngineViewBrowserToolbarBehavior
|
import mozilla.components.feature.session.behavior.EngineViewBrowserToolbarBehavior
|
||||||
import mozilla.components.feature.webauthn.WebAuthnFeature
|
import mozilla.components.feature.webauthn.WebAuthnFeature
|
||||||
import mozilla.components.service.glean.private.NoExtras
|
import mozilla.components.service.glean.private.NoExtras
|
||||||
|
import mozilla.components.service.sync.autofill.DefaultCreditCardValidationDelegate
|
||||||
import mozilla.components.support.base.feature.ActivityResultHandler
|
import mozilla.components.support.base.feature.ActivityResultHandler
|
||||||
import mozilla.components.support.ktx.android.view.enterToImmersiveMode
|
import mozilla.components.support.ktx.android.view.enterToImmersiveMode
|
||||||
import mozilla.components.support.ktx.kotlin.getOrigin
|
import mozilla.components.support.ktx.kotlin.getOrigin
|
||||||
|
@ -584,6 +585,9 @@ abstract class BaseBrowserFragment :
|
||||||
store = store,
|
store = store,
|
||||||
customTabId = customTabSessionId,
|
customTabId = customTabSessionId,
|
||||||
fragmentManager = parentFragmentManager,
|
fragmentManager = parentFragmentManager,
|
||||||
|
creditCardValidationDelegate = DefaultCreditCardValidationDelegate(
|
||||||
|
context.components.core.lazyAutofillStorage
|
||||||
|
),
|
||||||
loginValidationDelegate = DefaultLoginValidationDelegate(
|
loginValidationDelegate = DefaultLoginValidationDelegate(
|
||||||
context.components.core.lazyPasswordsStorage
|
context.components.core.lazyPasswordsStorage
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user