Improved debug info

This commit is contained in:
M66B
2021-09-08 09:56:53 +02:00
parent 24a1c69fca
commit 2e4e5d04ed
3 changed files with 14 additions and 13 deletions

View File

@@ -1773,7 +1773,8 @@ public class Log {
try {
int maxKeySize = javax.crypto.Cipher.getMaxAllowedKeyLength("AES");
sb.append(context.getString(R.string.title_advanced_aes_key_size, maxKeySize)).append("\r\n");
sb.append(context.getString(R.string.title_advanced_aes_key_size,
Helper.humanReadableByteCount(maxKeySize))).append("\r\n");
} catch (Throwable ex) {
sb.append(ex.toString()).append("\r\n");
}