mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-22 02:36:55 +00:00
Skip new validations in old storage sync job.
This commit is contained in:
@@ -192,7 +192,7 @@ public class StorageSyncJob extends BaseJob {
|
||||
needsForcePush = true;
|
||||
}
|
||||
|
||||
StorageSyncValidations.validate(writeOperationResult, remoteManifest, needsForcePush);
|
||||
StorageSyncValidations.validate(writeOperationResult, Optional.absent(), needsForcePush);
|
||||
|
||||
Log.i(TAG, "[Remote Newer] MergeResult :: " + mergeResult);
|
||||
|
||||
@@ -256,7 +256,7 @@ public class StorageSyncJob extends BaseJob {
|
||||
Log.i(TAG, String.format(Locale.ENGLISH, "[Local Changes] Local changes present. %d updates, %d inserts, %d deletes, account update: %b, account insert: %b.", pendingUpdates.size(), pendingInsertions.size(), pendingDeletions.size(), pendingAccountUpdate.isPresent(), pendingAccountInsert.isPresent()));
|
||||
|
||||
WriteOperationResult localWrite = localWriteResult.get().getWriteResult();
|
||||
StorageSyncValidations.validate(localWrite, remoteManifest, needsForcePush);
|
||||
StorageSyncValidations.validate(localWrite, Optional.absent(), needsForcePush);
|
||||
|
||||
Log.i(TAG, "[Local Changes] WriteOperationResult :: " + localWrite);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user