Mark sub badge redemption failed in DonationReceiptRedemptionJob#onFailure.

This commit is contained in:
Alex Hart 2022-02-11 19:30:22 -04:00 committed by Greyson Parrelli
parent fb1ba5a13e
commit 4bdea886e3

View file

@ -74,6 +74,11 @@ public class DonationReceiptRedemptionJob extends BaseJob {
@Override
public void onFailure() {
if (isForSubscription()) {
Log.d(TAG, "Marking subscription failure", true);
SignalStore.donationsValues().markSubscriptionRedemptionFailed();
MultiDeviceSubscriptionSyncRequestJob.enqueue();
}
}
@Override