Inline GV1 auto-migration flag.

This commit is contained in:
Greyson Parrelli
2020-12-17 17:46:52 -05:00
parent 372744178e
commit f3ce582fa5
5 changed files with 12 additions and 24 deletions

View File

@@ -86,11 +86,6 @@ public final class GroupsV1MigrationUtil {
throw new InvalidMigrationStateException();
}
if (!forced && !FeatureFlags.groupsV1AutoMigration()) {
Log.w(TAG, "Auto migration is not enabled! Skipping.");
throw new InvalidMigrationStateException();
}
if (forced && !FeatureFlags.groupsV1ManualMigration()) {
Log.w(TAG, "Manual migration is not enabled! Skipping.");
throw new InvalidMigrationStateException();