Write logcat on crash

This commit is contained in:
M66B
2018-12-07 15:35:03 +01:00
parent 35407bf289
commit 3e7ca96f43
2 changed files with 41 additions and 2 deletions

View File

@@ -212,7 +212,7 @@ public class Helper {
draft.folder = drafts.id;
draft.msgid = EntityMessage.generateMessageId();
draft.to = new Address[]{Helper.myAddress()};
draft.subject = context.getString(R.string.app_name) + " " + BuildConfig.VERSION_NAME + " crash log";
draft.subject = context.getString(R.string.app_name) + " " + BuildConfig.VERSION_NAME + " unexpected error";
draft.content = true;
draft.received = new Date().getTime();
draft.setContactInfo(context);