mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-25 19:29:54 +01:00
Initial support for restoring backups and skipping SMS in registration v2.
This commit is contained in:
committed by
Greyson Parrelli
parent
fd4864b3b1
commit
f23476a4e9
@@ -271,13 +271,6 @@ public class FullBackupImporter extends FullBackupBase {
|
||||
return;
|
||||
}
|
||||
|
||||
if (FeatureFlags.registrationV2()) {
|
||||
if (SignalStore.account().getKeysToIncludeInBackup().contains(keyValue.key)) {
|
||||
Log.i(TAG, "[regv2] skipping restore of " + keyValue.key);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if (keyValue.blobValue != null) {
|
||||
dataSet.putBlob(keyValue.key, keyValue.blobValue.toByteArray());
|
||||
} else if (keyValue.booleanValue != null) {
|
||||
|
||||
Reference in New Issue
Block a user