1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-25 17:27:00 +00:00

Reduced logging

This commit is contained in:
M66B 2020-10-24 14:10:30 +02:00
parent 64b8cff129
commit acd1412301

View file

@ -81,10 +81,14 @@ class CharsetHelper {
String detected = jni_detect(sample);
if ("US-ASCII".equals(detected) ||
"ISO-8859-1".equals(detected) ||
"ISO-8859-2".equals(detected) ||
"windows-1250".equals(detected) ||
"windows-1252".equals(detected) ||
"windows-1257".equals(detected) ||
"UTF-8".equals(detected))
Log.w("compact_enc_det result=" + detected);
else
// ISO-2022-JP, ISO-8859-2, windows-1250, windows-1252, windows-1257
// ISO-2022-JP, GB18030
Log.e("compact_enc_det result=" + detected);
if (TextUtils.isEmpty(detected))