For #24847 - Part 2: Refactor AutofillFragmentStore into the autofill package
This commit is contained in:
parent
22056752e4
commit
a8a3231a50
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
package org.mozilla.fenix.settings.creditcards
|
||||
package org.mozilla.fenix.settings.autofill
|
||||
|
||||
import mozilla.components.concept.storage.CreditCard
|
||||
import mozilla.components.lib.state.Action
|
|
@ -36,9 +36,6 @@ import org.mozilla.fenix.ext.showToolbar
|
|||
import org.mozilla.fenix.settings.SharedPreferenceUpdater
|
||||
import org.mozilla.fenix.settings.SyncPreferenceView
|
||||
import org.mozilla.fenix.settings.biometric.BiometricPromptPreferenceFragment
|
||||
import org.mozilla.fenix.settings.creditcards.AutofillAction
|
||||
import org.mozilla.fenix.settings.creditcards.AutofillFragmentStore
|
||||
import org.mozilla.fenix.settings.creditcards.AutofillFragmentState
|
||||
import org.mozilla.fenix.settings.requirePreference
|
||||
|
||||
/**
|
||||
|
|
|
@ -20,6 +20,9 @@ import org.mozilla.fenix.databinding.ComponentCreditCardsBinding
|
|||
import org.mozilla.fenix.ext.components
|
||||
import org.mozilla.fenix.ext.redirectToReAuth
|
||||
import org.mozilla.fenix.ext.showToolbar
|
||||
import org.mozilla.fenix.settings.autofill.AutofillAction
|
||||
import org.mozilla.fenix.settings.autofill.AutofillFragmentState
|
||||
import org.mozilla.fenix.settings.autofill.AutofillFragmentStore
|
||||
import org.mozilla.fenix.settings.creditcards.controller.DefaultCreditCardsManagementController
|
||||
import org.mozilla.fenix.settings.creditcards.interactor.CreditCardsManagementInteractor
|
||||
import org.mozilla.fenix.settings.creditcards.interactor.DefaultCreditCardsManagementInteractor
|
||||
|
|
|
@ -8,7 +8,7 @@ import androidx.core.view.isVisible
|
|||
import androidx.recyclerview.widget.LinearLayoutManager
|
||||
import org.mozilla.fenix.R
|
||||
import org.mozilla.fenix.databinding.ComponentCreditCardsBinding
|
||||
import org.mozilla.fenix.settings.creditcards.AutofillFragmentState
|
||||
import org.mozilla.fenix.settings.autofill.AutofillFragmentState
|
||||
import org.mozilla.fenix.settings.creditcards.interactor.CreditCardsManagementInteractor
|
||||
|
||||
/**
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
package org.mozilla.fenix.settings.creditcards
|
||||
package org.mozilla.fenix.settings.autofill
|
||||
|
||||
import io.mockk.mockk
|
||||
import kotlinx.coroutines.runBlocking
|
|
@ -23,8 +23,6 @@ import org.mozilla.fenix.R
|
|||
import org.mozilla.fenix.ext.components
|
||||
import org.mozilla.fenix.ext.getPreferenceKey
|
||||
import org.mozilla.fenix.helpers.FenixRobolectricTestRunner
|
||||
import org.mozilla.fenix.settings.creditcards.AutofillFragmentStore
|
||||
import org.mozilla.fenix.settings.creditcards.AutofillFragmentState
|
||||
import org.robolectric.Robolectric
|
||||
|
||||
@RunWith(FenixRobolectricTestRunner::class)
|
||||
|
|
|
@ -18,6 +18,7 @@ import org.junit.runner.RunWith
|
|||
import org.mozilla.fenix.R
|
||||
import org.mozilla.fenix.databinding.ComponentCreditCardsBinding
|
||||
import org.mozilla.fenix.helpers.FenixRobolectricTestRunner
|
||||
import org.mozilla.fenix.settings.autofill.AutofillFragmentState
|
||||
import org.mozilla.fenix.settings.creditcards.interactor.CreditCardsManagementInteractor
|
||||
import org.mozilla.fenix.settings.creditcards.view.CreditCardsManagementView
|
||||
|
||||
|
|
Loading…
Reference in New Issue