mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 00:59:49 +01:00
Migrate to a new SVR2 enclave.
This commit is contained in:
@@ -141,9 +141,10 @@ public class ApplicationMigrations {
|
||||
static final int THREAD_COUNT_DB_MIGRATION = 97;
|
||||
static final int SYNC_KEYS_MIGRATION = 98;
|
||||
static final int SELF_REGISTERTED_STATE = 99;
|
||||
static final int SVR2_ENCLAVE_UPDATE = 100;
|
||||
}
|
||||
|
||||
public static final int CURRENT_VERSION = 99;
|
||||
public static final int CURRENT_VERSION = 100;
|
||||
|
||||
/**
|
||||
* This *must* be called after the {@link JobManager} has been instantiated, but *before* the call
|
||||
@@ -642,6 +643,10 @@ public class ApplicationMigrations {
|
||||
jobs.put(Version.SELF_REGISTERTED_STATE, new SelfRegisteredStateMigrationJob());
|
||||
}
|
||||
|
||||
if (lastSeenVersion < Version.SVR2_ENCLAVE_UPDATE) {
|
||||
jobs.put(Version.SVR2_ENCLAVE_UPDATE, new Svr2MirrorMigrationJob());
|
||||
}
|
||||
|
||||
return jobs;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user