Implement checkin job for backups.

This commit is contained in:
Alex Hart
2024-11-18 15:00:17 -04:00
committed by Greyson Parrelli
parent ae37001949
commit 6ff31b950d
8 changed files with 146 additions and 0 deletions

View File

@@ -54,6 +54,7 @@ import org.thoughtcrime.securesms.emoji.EmojiSource;
import org.thoughtcrime.securesms.emoji.JumboEmoji;
import org.thoughtcrime.securesms.gcm.FcmFetchManager;
import org.thoughtcrime.securesms.jobs.AccountConsistencyWorkerJob;
import org.thoughtcrime.securesms.jobs.BackupRefreshJob;
import org.thoughtcrime.securesms.jobs.BackupSubscriptionCheckJob;
import org.thoughtcrime.securesms.jobs.BuildExpirationConfirmationJob;
import org.thoughtcrime.securesms.jobs.CheckServiceReachabilityJob;
@@ -247,6 +248,7 @@ public class ApplicationContext extends Application implements AppForegroundObse
startAnrDetector();
SignalExecutors.BOUNDED.execute(() -> {
BackupRefreshJob.enqueueIfNecessary();
InAppPaymentAuthCheckJob.enqueueIfNeeded();
RemoteConfig.refreshIfNecessary();
RetrieveProfileJob.enqueueRoutineFetchIfNecessary();