mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-26 11:51:10 +01:00
Rename StorageSyncJobV2 -> StorageSyncJob.
This commit is contained in:
committed by
Alex Hart
parent
38e64b1f75
commit
4461d6cf7f
@@ -8,7 +8,7 @@ import org.thoughtcrime.securesms.jobmanager.Data;
|
||||
import org.thoughtcrime.securesms.jobmanager.Job;
|
||||
import org.thoughtcrime.securesms.jobmanager.JobManager;
|
||||
import org.thoughtcrime.securesms.jobs.MultiDeviceKeysUpdateJob;
|
||||
import org.thoughtcrime.securesms.jobs.StorageSyncJobV2;
|
||||
import org.thoughtcrime.securesms.jobs.StorageSyncJob;
|
||||
import org.thoughtcrime.securesms.util.TextSecurePreferences;
|
||||
|
||||
/**
|
||||
@@ -44,12 +44,12 @@ public class StorageServiceMigrationJob extends MigrationJob {
|
||||
|
||||
if (TextSecurePreferences.isMultiDevice(context)) {
|
||||
Log.i(TAG, "Multi-device.");
|
||||
jobManager.startChain(new StorageSyncJobV2())
|
||||
jobManager.startChain(new StorageSyncJob())
|
||||
.then(new MultiDeviceKeysUpdateJob())
|
||||
.enqueue();
|
||||
} else {
|
||||
Log.i(TAG, "Single-device.");
|
||||
jobManager.add(new StorageSyncJobV2());
|
||||
jobManager.add(new StorageSyncJob());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user