Backup format v2: redesign restore dialog

This commit is contained in:
Dominik Schürmann
2016-02-10 17:15:16 +01:00
parent 713f3076f4
commit a2ea509f06
3 changed files with 34 additions and 134 deletions

View File

@@ -278,7 +278,7 @@ public class PgpDecryptVerifyOperation extends BaseOperation<PgpDecryptVerifyInp
ArmorHeaders armorHeaders = parseArmorHeaders(in, log, indent);
String charset = armorHeaders.charset;
boolean useBackupCode = false;
if (armorHeaders.backupVersion != null && armorHeaders.backupVersion == 1) {
if (armorHeaders.backupVersion != null && armorHeaders.backupVersion == 2) {
useBackupCode = true;
}