mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-10-06 15:53:32 +01:00
Fix logic around storage crash.
This commit is contained in:
1 parent
13e0b8dec0
commit
2cb67f6ee3
1 file changed
+2
@@ -48,6 +48,7 @@ public final class SqlCipherErrorHandler implements DatabaseErrorHandler {
|
||||
}
|
||||
}
|
||||
} catch (Throwable t) {
|
||||
pragma1Passes = false;
|
||||
output.append("Failed to do integrity_check!").append("\n")
|
||||
.append(ExceptionUtil.convertThrowableToString(t));
|
||||
}
|
||||
@@ -59,6 +60,7 @@ public final class SqlCipherErrorHandler implements DatabaseErrorHandler {
|
||||
pragma2Passes = false;
|
||||
}
|
||||
} catch (Throwable t) {
|
||||
pragma2Passes = false;
|
||||
output.append("Failed to do cipher_integrity_check!").append("\n")
|
||||
.append(ExceptionUtil.convertThrowableToString(t));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user