mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-24 19:00:26 +01:00
Rewrite storage service change processing.
This commit is contained in:
@@ -41,12 +41,12 @@ public class StorageServiceMigrationJob extends MigrationJob {
|
||||
|
||||
if (TextSecurePreferences.isMultiDevice(context)) {
|
||||
Log.i(TAG, "Multi-device.");
|
||||
jobManager.startChain(new StorageSyncJob())
|
||||
jobManager.startChain(StorageSyncJob.create())
|
||||
.then(new MultiDeviceKeysUpdateJob())
|
||||
.enqueue();
|
||||
} else {
|
||||
Log.i(TAG, "Single-device.");
|
||||
jobManager.add(new StorageSyncJob());
|
||||
jobManager.add(StorageSyncJob.create());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user