mirror of
https://github.com/bitwarden/android.git
synced 2024-10-31 07:05:35 +03:00
BIT-2402: Add Keep annotation to services used in the BitwardenAppComponentFactory (#1419)
This commit is contained in:
parent
1b8ac87700
commit
04730137e8
2 changed files with 4 additions and 0 deletions
|
@ -7,6 +7,7 @@ import android.service.autofill.FillCallback
|
|||
import android.service.autofill.FillRequest
|
||||
import android.service.autofill.SaveCallback
|
||||
import android.service.autofill.SaveRequest
|
||||
import androidx.annotation.Keep
|
||||
import com.x8bit.bitwarden.data.autofill.model.AutofillAppInfo
|
||||
import com.x8bit.bitwarden.data.autofill.processor.AutofillProcessor
|
||||
import com.x8bit.bitwarden.data.platform.annotation.OmitFromCoverage
|
||||
|
@ -18,6 +19,7 @@ import javax.inject.Inject
|
|||
* applications.
|
||||
*/
|
||||
@OmitFromCoverage
|
||||
@Keep
|
||||
@AndroidEntryPoint
|
||||
class BitwardenAutofillService : AutofillService() {
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@ package com.x8bit.bitwarden.data.autofill.fido2
|
|||
import android.os.Build
|
||||
import android.os.CancellationSignal
|
||||
import android.os.OutcomeReceiver
|
||||
import androidx.annotation.Keep
|
||||
import androidx.annotation.RequiresApi
|
||||
import androidx.credentials.exceptions.ClearCredentialException
|
||||
import androidx.credentials.exceptions.CreateCredentialException
|
||||
|
@ -24,6 +25,7 @@ import javax.inject.Inject
|
|||
*/
|
||||
@OmitFromCoverage
|
||||
@RequiresApi(Build.VERSION_CODES.UPSIDE_DOWN_CAKE)
|
||||
@Keep
|
||||
@AndroidEntryPoint
|
||||
class BitwardenFido2ProviderService : CredentialProviderService() {
|
||||
|
||||
|
|
Loading…
Reference in a new issue