From 6154ff36c13ad8b8f402b39906c3f33e0561daf3 Mon Sep 17 00:00:00 2001 From: Alex Hart Date: Wed, 1 Dec 2021 16:51:39 -0400 Subject: [PATCH] Keep around info logs from SubscriptionKeepAlive job. --- .../securesms/jobs/SubscriptionKeepAliveJob.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/org/thoughtcrime/securesms/jobs/SubscriptionKeepAliveJob.java b/app/src/main/java/org/thoughtcrime/securesms/jobs/SubscriptionKeepAliveJob.java index ec51a31892..71e6cb9557 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/jobs/SubscriptionKeepAliveJob.java +++ b/app/src/main/java/org/thoughtcrime/securesms/jobs/SubscriptionKeepAliveJob.java @@ -79,23 +79,23 @@ public class SubscriptionKeepAliveJob extends BaseJob { .blockingGet(); verifyResponse(response); - Log.i(TAG, "Successful call to PUT subscription ID"); + Log.i(TAG, "Successful call to PUT subscription ID", true); ServiceResponse activeSubscriptionResponse = ApplicationDependencies.getDonationsService() .getSubscription(subscriber.getSubscriberId()) .blockingGet(); verifyResponse(activeSubscriptionResponse); - Log.i(TAG, "Successful call to GET active subscription"); + Log.i(TAG, "Successful call to GET active subscription", true); ActiveSubscription activeSubscription = activeSubscriptionResponse.getResult().get(); if (activeSubscription.getActiveSubscription() == null || !activeSubscription.getActiveSubscription().isActive()) { - Log.i(TAG, "User does not have an active subscription. Exiting."); + Log.i(TAG, "User does not have an active subscription. Exiting.", true); return; } if (activeSubscription.getActiveSubscription().getEndOfCurrentPeriod() > SignalStore.donationsValues().getLastEndOfPeriod()) { - Log.i(TAG, "Last end of period change. Requesting receipt refresh."); + Log.i(TAG, "Last end of period change. Requesting receipt refresh.", true); SubscriptionReceiptRequestResponseJob.createSubscriptionContinuationJobChain().enqueue(); } }