mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-26 03:40:56 +01:00
Enable Change Number.
This commit is contained in:
committed by
Greyson Parrelli
parent
8cb4cc5ac3
commit
d48632d09d
@@ -90,9 +90,10 @@ public class ApplicationMigrations {
|
||||
static final int CHANGE_NUMBER_CAPABILITY_2 = 46;
|
||||
static final int DEFAULT_REACTIONS_SYNC = 47;
|
||||
static final int DB_REACTIONS_MIGRATION = 48;
|
||||
static final int CHANGE_NUMBER_CAPABILITY_3 = 49;
|
||||
}
|
||||
|
||||
public static final int CURRENT_VERSION = 48;
|
||||
public static final int CURRENT_VERSION = 49;
|
||||
|
||||
/**
|
||||
* This *must* be called after the {@link JobManager} has been instantiated, but *before* the call
|
||||
@@ -394,6 +395,10 @@ public class ApplicationMigrations {
|
||||
jobs.put(Version.DB_REACTIONS_MIGRATION, new DatabaseMigrationJob());
|
||||
}
|
||||
|
||||
if (lastSeenVersion < Version.CHANGE_NUMBER_CAPABILITY_3) {
|
||||
jobs.put(Version.CHANGE_NUMBER_CAPABILITY_3, new AttributesMigrationJob());
|
||||
}
|
||||
|
||||
return jobs;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user