Skip to content

Commit

Permalink
For mozilla-mobile#26444: Remove RequiresApi O from Autofill.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcarare committed Aug 25, 2022
1 parent 09bb424 commit adddfb0
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,13 @@

package org.mozilla.fenix.autofill

import android.os.Build
import androidx.annotation.RequiresApi
import mozilla.components.feature.autofill.AutofillConfiguration
import mozilla.components.feature.autofill.ui.AbstractAutofillConfirmActivity
import org.mozilla.fenix.ext.components

/**
* Activity responsible for asking the user to confirm before auto-filling a third-party app.
*/
@RequiresApi(Build.VERSION_CODES.O)
class AutofillConfirmActivity : AbstractAutofillConfirmActivity() {
override val configuration: AutofillConfiguration by lazy { components.autofillConfiguration }
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@

package org.mozilla.fenix.autofill

import android.os.Build
import android.os.Bundle
import android.view.ViewGroup
import androidx.annotation.RequiresApi
import mozilla.components.feature.autofill.AutofillConfiguration
import mozilla.components.feature.autofill.ui.AbstractAutofillSearchActivity
import org.mozilla.fenix.ext.components
Expand All @@ -16,7 +14,6 @@ import org.mozilla.fenix.ext.components
* Activity responsible for letting the user manually search and pick credentials for auto-filling a
* third-party app.
*/
@RequiresApi(Build.VERSION_CODES.O)
class AutofillSearchActivity : AbstractAutofillSearchActivity() {
override val configuration: AutofillConfiguration by lazy { components.autofillConfiguration }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,13 @@

package org.mozilla.fenix.autofill

import android.os.Build
import androidx.annotation.RequiresApi
import mozilla.components.feature.autofill.AutofillConfiguration
import mozilla.components.feature.autofill.ui.AbstractAutofillUnlockActivity
import org.mozilla.fenix.ext.components

/**
* Activity responsible for unlocking the autofill service by asking the user to verify.
*/
@RequiresApi(Build.VERSION_CODES.O)
class AutofillUnlockActivity : AbstractAutofillUnlockActivity() {
override val configuration: AutofillConfiguration by lazy { components.autofillConfiguration }
}

0 comments on commit adddfb0

Please sign in to comment.