mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-24 07:01:05 +00:00
Log charsets
This commit is contained in:
parent
af45824fd8
commit
c3b1dd3fc0
1 changed files with 4 additions and 0 deletions
|
@ -104,6 +104,7 @@ import javax.mail.MessagingException;
|
|||
import javax.mail.Part;
|
||||
import javax.mail.StoreClosedException;
|
||||
import javax.mail.internet.InternetAddress;
|
||||
import javax.mail.internet.MimeUtility;
|
||||
import javax.net.ssl.SSLHandshakeException;
|
||||
import javax.net.ssl.SSLPeerUnverifiedException;
|
||||
|
||||
|
@ -1143,6 +1144,9 @@ public class Log {
|
|||
sb.append(String.format("Data saving: %b\r\n", saving));
|
||||
}
|
||||
|
||||
String charset = MimeUtility.getDefaultJavaCharset();
|
||||
sb.append(String.format("Default charset: %s/%s\r\n", charset, MimeUtility.mimeCharset(charset)));
|
||||
|
||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
|
||||
boolean reporting = prefs.getBoolean("crash_reports", false);
|
||||
if (reporting) {
|
||||
|
|
Loading…
Reference in a new issue