mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 00:59:49 +01:00
Migrate to new SVR2 enclave.
Co-authored-by: Cody Henthorne <cody@signal.org>
This commit is contained in:
committed by
Michelle Tang
parent
778db277c8
commit
b3c9ec9691
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user