mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-22 10:46:50 +00:00
Add test to verify sync behavior during VERIFIED to DEFAULT change.
This commit is contained in:
committed by
Clark Chen
parent
b277a8c5e0
commit
bfcd57881e
@@ -1,6 +1,7 @@
|
||||
package org.thoughtcrime.securesms.storage;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.VisibleForTesting;
|
||||
|
||||
import org.whispersystems.signalservice.api.storage.SignalRecord;
|
||||
|
||||
@@ -13,7 +14,8 @@ public class StorageRecordUpdate<E extends SignalRecord> {
|
||||
private final E oldRecord;
|
||||
private final E newRecord;
|
||||
|
||||
StorageRecordUpdate(@NonNull E oldRecord, @NonNull E newRecord) {
|
||||
@VisibleForTesting
|
||||
public StorageRecordUpdate(@NonNull E oldRecord, @NonNull E newRecord) {
|
||||
this.oldRecord = oldRecord;
|
||||
this.newRecord = newRecord;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user