mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-16 13:55:03 -05:00
stub for consolidate recovery in KeychainApplication
This commit is contained in:
parent
0422d48b61
commit
9fb1050fed
@ -84,11 +84,18 @@ public class KeychainApplication extends Application {
|
|||||||
setupAccountAsNeeded(this);
|
setupAccountAsNeeded(this);
|
||||||
|
|
||||||
// Update keyserver list as needed
|
// Update keyserver list as needed
|
||||||
Preferences.getPreferences(this).updatePreferences();
|
Preferences prefs = Preferences.getPreferences(this);
|
||||||
|
|
||||||
|
prefs.updatePreferences();
|
||||||
|
|
||||||
TlsHelper.addStaticCA("pool.sks-keyservers.net", getAssets(), "sks-keyservers.netCA.cer");
|
TlsHelper.addStaticCA("pool.sks-keyservers.net", getAssets(), "sks-keyservers.netCA.cer");
|
||||||
|
|
||||||
TemporaryStorageProvider.cleanUp(this);
|
TemporaryStorageProvider.cleanUp(this);
|
||||||
|
|
||||||
|
if (prefs.getCachedConsolidate()) {
|
||||||
|
// do something which calls ProviderHelper.consolidateDatabaseStep2 with a progressable
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void setupAccountAsNeeded(Context context) {
|
public static void setupAccountAsNeeded(Context context) {
|
||||||
|
Loading…
Reference in New Issue
Block a user