Initial work to support Change Number.

This commit is contained in:
Cody Henthorne
2021-09-03 17:07:05 -04:00
parent e09d162c1e
commit f2ab0b6423
61 changed files with 3177 additions and 1176 deletions

View File

@@ -83,6 +83,7 @@ public class ApplicationMigrations {
static final int ANNOUNCEMENT_GROUP_CAPABILITY = 41;
static final int STICKER_MY_DAILY_LIFE = 42;
static final int SENDER_KEY_3 = 43;
static final int CHANGE_NUMBER_SYNC = 44;
}
public static final int CURRENT_VERSION = 43;
@@ -367,6 +368,10 @@ public class ApplicationMigrations {
jobs.put(Version.SENDER_KEY_3, new AttributesMigrationJob());
}
if (lastSeenVersion < Version.CHANGE_NUMBER_SYNC) {
jobs.put(Version.CHANGE_NUMBER_SYNC, new AccountRecordMigrationJob());
}
return jobs;
}