1
0
mirror of https://github.com/etesync/android synced 2024-11-22 16:08:13 +00:00

Acra: don't include email prefix.

We've recently started getting exceptions such as:
"java.lang.ClassCastException: java.lang.String cannot be cast to java.util.ArrayList"

I suspect it may be related to using the new email body prefix which is
probably not as well tested upstream as the rest of the code. Removing
it to see if this fixes things.
This commit is contained in:
Tom Hacohen 2019-06-13 09:53:56 +01:00
parent 1a7ef1b78e
commit 7cfba6dc34

View File

@ -18,7 +18,6 @@ public class AcraConfiguration {
builder.getPluginConfigurationBuilder(MailSenderConfigurationBuilder.class) builder.getPluginConfigurationBuilder(MailSenderConfigurationBuilder.class)
.setMailTo("reports@etesync.com") .setMailTo("reports@etesync.com")
.setResSubject(R.string.crash_email_subject) .setResSubject(R.string.crash_email_subject)
.setResBody(R.string.crash_email_body)
.setReportFileName("ACRA-report.stacktrace.json") .setReportFileName("ACRA-report.stacktrace.json")
.setReportAsFile(emailSupportsAttachments(context)) .setReportAsFile(emailSupportsAttachments(context))
.setEnabled(true); .setEnabled(true);