Log backup verify failure independently from file not found.

This commit is contained in:
Cody Henthorne
2022-11-30 13:22:20 -05:00
parent 979f87db78
commit e5d196c642
2 changed files with 7 additions and 1 deletions

View File

@@ -15,6 +15,7 @@ object BackupVerifier {
private val TAG = Log.tag(BackupVerifier::class.java)
@JvmStatic
@Throws(IOException::class)
fun verifyFile(cipherStream: InputStream, passphrase: String, expectedCount: Long): Boolean {
val inputStream = BackupRecordInputStream(cipherStream, passphrase)