From 207c5c27ba735e94ab295531356da4cc9ecb0191 Mon Sep 17 00:00:00 2001 From: Carlos Munoz Date: Fri, 20 Dec 2024 17:44:54 +0100 Subject: [PATCH] removes dependency. --- .../src/main/java/com/stripe/attestation/AttestationError.kt | 2 +- .../com/stripe/attestation/IntegrityStandardRequestManager.kt | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/stripe-attestation/src/main/java/com/stripe/attestation/AttestationError.kt b/stripe-attestation/src/main/java/com/stripe/attestation/AttestationError.kt index 6157a02e09f..8513c27b282 100644 --- a/stripe-attestation/src/main/java/com/stripe/attestation/AttestationError.kt +++ b/stripe-attestation/src/main/java/com/stripe/attestation/AttestationError.kt @@ -6,7 +6,7 @@ class AttestationError( val errorType: ErrorType, message: String, cause: Throwable? = null -) : Throwable(message, cause) { +) : Exception(message, cause) { enum class ErrorType( val isRetriable: Boolean diff --git a/stripe-attestation/src/main/java/com/stripe/attestation/IntegrityStandardRequestManager.kt b/stripe-attestation/src/main/java/com/stripe/attestation/IntegrityStandardRequestManager.kt index 76231cb3a4f..47963e2f0f1 100644 --- a/stripe-attestation/src/main/java/com/stripe/attestation/IntegrityStandardRequestManager.kt +++ b/stripe-attestation/src/main/java/com/stripe/attestation/IntegrityStandardRequestManager.kt @@ -1,7 +1,6 @@ package com.stripe.attestation import androidx.annotation.RestrictTo -import com.google.android.gms.tasks.Task import com.google.android.play.core.integrity.StandardIntegrityManager import com.google.android.play.core.integrity.StandardIntegrityManager.PrepareIntegrityTokenRequest import com.google.android.play.core.integrity.StandardIntegrityManager.StandardIntegrityTokenProvider