For #24847 - Part 2: Refactor AutofillFragmentStore into the autofill package

This commit is contained in:
Gabriel Luong 2022-04-15 20:05:19 -04:00 committed by mergify[bot]
parent 22056752e4
commit a8a3231a50
7 changed files with 7 additions and 8 deletions

View File

@ -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

View File

@ -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
/**

View File

@ -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

View File

@ -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
/**

View File

@ -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

View File

@ -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)

View File

@ -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