From 116e711f1a890a59be8efc23fd9db9c42a64b625 Mon Sep 17 00:00:00 2001 From: Alex Hart Date: Wed, 30 Mar 2022 12:46:54 -0300 Subject: [PATCH] Add logging for when we do nothing during a keep-alive job. --- .../thoughtcrime/securesms/jobs/SubscriptionKeepAliveJob.java | 3 +++ 1 file changed, 3 insertions(+) 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 03612b8e8..836ee21fe 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/jobs/SubscriptionKeepAliveJob.java +++ b/app/src/main/java/org/thoughtcrime/securesms/jobs/SubscriptionKeepAliveJob.java @@ -109,7 +109,10 @@ public class SubscriptionKeepAliveJob extends BaseJob { true); SubscriptionReceiptRequestResponseJob.createSubscriptionContinuationJobChain(true).enqueue(); + return; } + + Log.i(TAG, "Subscription is active, and end of current period (remote) is after the latest checked end of period (local). Nothing to do."); } private void verifyResponse(@NonNull ServiceResponse response) throws Exception {