mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 00:59:49 +01:00
Add migration to new KBS enclave.
This commit is contained in:
@@ -106,9 +106,10 @@ public class ApplicationMigrations {
|
||||
static final int REFRESH_EXPIRING_CREDENTIAL = 62;
|
||||
static final int EMOJI_SEARCH_INDEX_10 = 63;
|
||||
static final int REFRESH_PNI_REGISTRATION_ID = 64;
|
||||
static final int KBS_MIGRATION_2 = 65;
|
||||
}
|
||||
|
||||
public static final int CURRENT_VERSION = 64;
|
||||
public static final int CURRENT_VERSION = 65;
|
||||
|
||||
/**
|
||||
* This *must* be called after the {@link JobManager} has been instantiated, but *before* the call
|
||||
@@ -466,6 +467,10 @@ public class ApplicationMigrations {
|
||||
jobs.put(Version.REFRESH_PNI_REGISTRATION_ID, new AttributesMigrationJob());
|
||||
}
|
||||
|
||||
if (lastSeenVersion < Version.KBS_MIGRATION_2) {
|
||||
jobs.put(Version.KBS_MIGRATION_2, new KbsEnclaveMigrationJob());
|
||||
}
|
||||
|
||||
return jobs;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user