Fix build error.
Signed-off-by: Dominic Fischer <dominicfischer7@gmail.com>
This commit is contained in:
parent
d071324694
commit
5e4e54153c
|
@ -630,14 +630,12 @@ internal class KeysBackup @Inject constructor(
|
||||||
}
|
}
|
||||||
|
|
||||||
// Get a PK decryption instance
|
// Get a PK decryption instance
|
||||||
val decryption = pkDecryptionFromRecoveryKey(recoveryKey)
|
pkDecryptionFromRecoveryKey(recoveryKey)
|
||||||
if (decryption == null) {
|
}
|
||||||
// This should not happen anymore
|
if (decryption == null) {
|
||||||
Timber.e("restoreKeysWithRecoveryKey: Invalid recovery key. Error")
|
// This should not happen anymore
|
||||||
throw InvalidParameterException("Invalid recovery key")
|
Timber.e("restoreKeysWithRecoveryKey: Invalid recovery key. Error")
|
||||||
}
|
throw InvalidParameterException("Invalid recovery key")
|
||||||
|
|
||||||
decryption
|
|
||||||
}
|
}
|
||||||
|
|
||||||
stepProgressListener?.onStepProgress(StepProgressListener.Step.DownloadingKey)
|
stepProgressListener?.onStepProgress(StepProgressListener.Step.DownloadingKey)
|
||||||
|
|
Loading…
Reference in New Issue