For #24780 - Part 4: Refactor AutofillSettingFragment to its own package

This commit is contained in:
Gabriel Luong 2022-04-14 01:11:42 -04:00 committed by mergify[bot]
parent ed07b8cb61
commit 6b0c8233de
3 changed files with 8 additions and 3 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 android.app.KeyguardManager
import android.content.Context
@ -36,6 +36,9 @@ 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.CreditCardsAction
import org.mozilla.fenix.settings.creditcards.CreditCardsFragmentStore
import org.mozilla.fenix.settings.creditcards.CreditCardsListState
import org.mozilla.fenix.settings.requirePreference
/**

View File

@ -1190,7 +1190,7 @@
app:startDestination="@id/autofillSettingFragment">
<fragment
android:id="@+id/autofillSettingFragment"
android:name="org.mozilla.fenix.settings.creditcards.AutofillSettingFragment"
android:name="org.mozilla.fenix.settings.autofill.AutofillSettingFragment"
android:label="@string/preferences_credit_cards">
<action
android:id="@+id/action_autofillSettingFragment_to_creditCardEditorFragment"

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 androidx.fragment.app.FragmentActivity
import androidx.navigation.NavController
@ -23,6 +23,8 @@ 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.CreditCardsFragmentStore
import org.mozilla.fenix.settings.creditcards.CreditCardsListState
import org.robolectric.Robolectric
@RunWith(FenixRobolectricTestRunner::class)