Remove debug code

This commit is contained in:
Dominik Schürmann
2015-10-15 20:11:58 +02:00
parent a5ff2f8fe3
commit 52c6d8f8e0
3 changed files with 3 additions and 11 deletions

View File

@@ -334,12 +334,6 @@ public class BackupCodeFragment extends CryptoOperationFragment<ExportKeyringPar
return;
}
// TODO remove debug code
if (backupCodeInput.toString().startsWith("ABC")) {
switchState(BackupCodeState.STATE_OK, true);
return;
}
switchState(BackupCodeState.STATE_INPUT_ERROR, true);
}
@@ -506,9 +500,7 @@ public class BackupCodeFragment extends CryptoOperationFragment<ExportKeyringPar
@Nullable
@Override
public ExportKeyringParcel createOperationInput() {
// TODO replace debug code with real thing
// return new ExportKeyringParcel(new Passphrase(mBackupCode), mMasterKeyIds, mExportSecret, mCachedBackupUri);
return new ExportKeyringParcel(new Passphrase("abc"), mMasterKeyIds, mExportSecret, mCachedBackupUri);
return new ExportKeyringParcel(new Passphrase(mBackupCode), mMasterKeyIds, mExportSecret, mCachedBackupUri);
}
@Override