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.FillRequest
|
||||||
import android.service.autofill.SaveCallback
|
import android.service.autofill.SaveCallback
|
||||||
import android.service.autofill.SaveRequest
|
import android.service.autofill.SaveRequest
|
||||||
|
import androidx.annotation.Keep
|
||||||
import com.x8bit.bitwarden.data.autofill.model.AutofillAppInfo
|
import com.x8bit.bitwarden.data.autofill.model.AutofillAppInfo
|
||||||
import com.x8bit.bitwarden.data.autofill.processor.AutofillProcessor
|
import com.x8bit.bitwarden.data.autofill.processor.AutofillProcessor
|
||||||
import com.x8bit.bitwarden.data.platform.annotation.OmitFromCoverage
|
import com.x8bit.bitwarden.data.platform.annotation.OmitFromCoverage
|
||||||
|
@ -18,6 +19,7 @@ import javax.inject.Inject
|
||||||
* applications.
|
* applications.
|
||||||
*/
|
*/
|
||||||
@OmitFromCoverage
|
@OmitFromCoverage
|
||||||
|
@Keep
|
||||||
@AndroidEntryPoint
|
@AndroidEntryPoint
|
||||||
class BitwardenAutofillService : AutofillService() {
|
class BitwardenAutofillService : AutofillService() {
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,7 @@ package com.x8bit.bitwarden.data.autofill.fido2
|
||||||
import android.os.Build
|
import android.os.Build
|
||||||
import android.os.CancellationSignal
|
import android.os.CancellationSignal
|
||||||
import android.os.OutcomeReceiver
|
import android.os.OutcomeReceiver
|
||||||
|
import androidx.annotation.Keep
|
||||||
import androidx.annotation.RequiresApi
|
import androidx.annotation.RequiresApi
|
||||||
import androidx.credentials.exceptions.ClearCredentialException
|
import androidx.credentials.exceptions.ClearCredentialException
|
||||||
import androidx.credentials.exceptions.CreateCredentialException
|
import androidx.credentials.exceptions.CreateCredentialException
|
||||||
|
@ -24,6 +25,7 @@ import javax.inject.Inject
|
||||||
*/
|
*/
|
||||||
@OmitFromCoverage
|
@OmitFromCoverage
|
||||||
@RequiresApi(Build.VERSION_CODES.UPSIDE_DOWN_CAKE)
|
@RequiresApi(Build.VERSION_CODES.UPSIDE_DOWN_CAKE)
|
||||||
|
@Keep
|
||||||
@AndroidEntryPoint
|
@AndroidEntryPoint
|
||||||
class BitwardenFido2ProviderService : CredentialProviderService() {
|
class BitwardenFido2ProviderService : CredentialProviderService() {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue