mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-24 13:08:46 +00:00
Mark end state in job that failed with an error.
This commit is contained in:
committed by
Greyson Parrelli
parent
cf78c76bbb
commit
862628fc28
@@ -206,6 +206,7 @@ class InAppPaymentCheckoutDelegate(
|
||||
InAppPaymentsRepository.updateInAppPayment(
|
||||
inAppPayment.copy(
|
||||
notified = false,
|
||||
state = InAppPaymentTable.State.END,
|
||||
data = inAppPayment.data.copy(
|
||||
error = InAppPaymentData.Error(
|
||||
type = InAppPaymentData.Error.Type.GOOGLE_PAY_REQUEST_TOKEN
|
||||
|
||||
@@ -240,6 +240,7 @@ class InAppPaymentRedemptionJob private constructor(
|
||||
|
||||
SignalDatabase.inAppPayments.update(
|
||||
inAppPayment = inAppPayment.copy(
|
||||
state = InAppPaymentTable.State.END,
|
||||
data = inAppPayment.data.copy(
|
||||
error = protoError
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user