more robustly re-schedule key sync

This commit is contained in:
Vincent Breitmoser
2018-07-19 11:32:12 +02:00
parent e21a46fc07
commit 71ad44ea7c
4 changed files with 32 additions and 14 deletions

View File

@@ -104,7 +104,7 @@ public class KeychainApplication extends Application {
TlsCertificatePinning.addPinnedCertificate("api.keybase.io", getAssets(), "api.keybase.io.CA.cer");
TlsCertificatePinning.addPinnedCertificate("keyserver.ubuntu.com", getAssets(), "DigiCertGlobalRootCA.cer");
KeyserverSyncManager.updateKeyserverSyncScheduleAsync(this, Constants.DEBUG_KEYSERVER_SYNC);
KeyserverSyncManager.updateKeyserverSyncScheduleAsync(this, false);
TemporaryFileProvider.scheduleCleanupImmediately();