mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 00:59:49 +01:00
Fix bad data for users that rotated their recovery key.
This commit is contained in:
committed by
Michelle Tang
parent
e08b86cda6
commit
67a693107e
@@ -189,9 +189,10 @@ public class ApplicationMigrations {
|
||||
static final int ARCHIVE_BACKUP_ID = 145;
|
||||
static final int QUOTE_THUMBNAIL_BACKFILL = 146;
|
||||
static final int EMOJI_ENGLISH_SEARCH = 147;
|
||||
static final int AEP_ROTATE_FIX = 148;
|
||||
}
|
||||
|
||||
public static final int CURRENT_VERSION = 147;
|
||||
public static final int CURRENT_VERSION = 148;
|
||||
|
||||
/**
|
||||
* This *must* be called after the {@link JobManager} has been instantiated, but *before* the call
|
||||
@@ -874,6 +875,10 @@ public class ApplicationMigrations {
|
||||
jobs.put(Version.EMOJI_ENGLISH_SEARCH, new EmojiSearchEnglishLabelsMigrationJob());
|
||||
}
|
||||
|
||||
if (lastSeenVersion < Version.AEP_ROTATE_FIX) {
|
||||
jobs.put(Version.AEP_ROTATE_FIX, new AepMigrationJob());
|
||||
}
|
||||
|
||||
return jobs;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user