Migrate to new SVR2 enclave.

Co-authored-by: Cody Henthorne <cody@signal.org>
This commit is contained in:
Greyson Parrelli
2025-05-08 08:05:09 -04:00
committed by Michelle Tang
parent 778db277c8
commit b3c9ec9691
3 changed files with 15 additions and 5 deletions

View File

@@ -179,9 +179,10 @@ public class ApplicationMigrations {
// Need to skip 135 because of hotfix ordering issues
static final int FIX_CHANGE_NUMBER_ERROR = 136;
static final int CHAT_FOLDER_STORAGE_SYNC = 137;
static final int SVR2_ENCLAVE_UPDATE_3 = 138;
}
public static final int CURRENT_VERSION = 137;
public static final int CURRENT_VERSION = 138;
/**
* This *must* be called after the {@link JobManager} has been instantiated, but *before* the call
@@ -824,6 +825,10 @@ public class ApplicationMigrations {
jobs.put(Version.CHAT_FOLDER_STORAGE_SYNC, new SyncChatFoldersMigrationJob());
}
if (lastSeenVersion < Version.SVR2_ENCLAVE_UPDATE_3) {
jobs.put(Version.SVR2_ENCLAVE_UPDATE_3, new Svr2MirrorMigrationJob());
}
return jobs;
}