enc-export: add comments about debug mechanisms
This commit is contained in:
@@ -295,6 +295,7 @@ public class BackupCodeFragment extends CryptoOperationFragment<ExportKeyringPar
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO remove debug code
|
||||||
if (backupCodeInput.toString().startsWith("ABC")) {
|
if (backupCodeInput.toString().startsWith("ABC")) {
|
||||||
switchState(BackupCodeState.STATE_OK);
|
switchState(BackupCodeState.STATE_OK);
|
||||||
return;
|
return;
|
||||||
@@ -467,6 +468,8 @@ public class BackupCodeFragment extends CryptoOperationFragment<ExportKeyringPar
|
|||||||
@Nullable
|
@Nullable
|
||||||
@Override
|
@Override
|
||||||
public ExportKeyringParcel createOperationInput() {
|
public ExportKeyringParcel createOperationInput() {
|
||||||
|
// TODO replace debug code with real thing
|
||||||
|
// return new ExportKeyringParcel(new Passphrase(mBackupCode), mMasterKeyIds, mExportSecret, mCachedExportUri);
|
||||||
return new ExportKeyringParcel(new Passphrase("abc"), mMasterKeyIds, mExportSecret, mCachedExportUri);
|
return new ExportKeyringParcel(new Passphrase("abc"), mMasterKeyIds, mExportSecret, mCachedExportUri);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user