Require users to correct intense clock skew.

This commit is contained in:
Greyson Parrelli
2026-07-24 15:54:59 -04:00
committed by Michelle Tang
parent 6dc0229e72
commit 70be67b267
19 changed files with 665 additions and 3 deletions
@@ -52,6 +52,7 @@ import org.signal.ringrtc.CallManager;
import org.thoughtcrime.securesms.apkupdate.ApkUpdateRefreshListener;
import org.thoughtcrime.securesms.avatar.AvatarPickerStorage;
import org.thoughtcrime.securesms.backup.v2.BackupRepository;
import org.thoughtcrime.securesms.clockskew.ClockSkewDetector;
import org.thoughtcrime.securesms.preferences.EditProxyActivity;
import org.thoughtcrime.securesms.conversation.drafts.DraftBlobs;
import org.thoughtcrime.securesms.crypto.AppAttachmentSecretStore;
@@ -420,6 +421,7 @@ public class ApplicationContext extends Application implements AppForegroundObse
AppDependencies.init(this, new ApplicationDependencyProvider(this));
}
AppForegroundObserver.begin();
ClockSkewDetector.beginObserving(this);
if (Environment.USE_NEW_REGISTRATION) {
initializeRegistrationDependencies();