From 7cfba6dc345dc5a8f0a40e7873c172e807fd53ed Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Thu, 13 Jun 2019 09:53:56 +0100 Subject: [PATCH] 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. --- app/src/main/java/com/etesync/syncadapter/AcraConfiguration.java | 1 - 1 file changed, 1 deletion(-) diff --git a/app/src/main/java/com/etesync/syncadapter/AcraConfiguration.java b/app/src/main/java/com/etesync/syncadapter/AcraConfiguration.java index 1bfdbf94..3d60b48b 100644 --- a/app/src/main/java/com/etesync/syncadapter/AcraConfiguration.java +++ b/app/src/main/java/com/etesync/syncadapter/AcraConfiguration.java @@ -18,7 +18,6 @@ public class AcraConfiguration { builder.getPluginConfigurationBuilder(MailSenderConfigurationBuilder.class) .setMailTo("reports@etesync.com") .setResSubject(R.string.crash_email_subject) - .setResBody(R.string.crash_email_body) .setReportFileName("ACRA-report.stacktrace.json") .setReportAsFile(emailSupportsAttachments(context)) .setEnabled(true);