From 89cb8cd771cf50dfa2dbc29109d94153d8f67e48 Mon Sep 17 00:00:00 2001 From: M66B Date: Sat, 8 Sep 2018 09:10:34 +0000 Subject: [PATCH] Include version in subject of crash log / debug info --- app/src/main/java/eu/faircode/email/ActivityView.java | 2 +- app/src/main/java/eu/faircode/email/FragmentAbout.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/ActivityView.java b/app/src/main/java/eu/faircode/email/ActivityView.java index aff01b66..c0292286 100644 --- a/app/src/main/java/eu/faircode/email/ActivityView.java +++ b/app/src/main/java/eu/faircode/email/ActivityView.java @@ -286,7 +286,7 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB draft.folder = drafts.id; draft.msgid = EntityMessage.generateMessageId(); draft.to = new Address[]{Helper.myAddress()}; - draft.subject = context.getString(R.string.app_name) + " crash log"; + draft.subject = context.getString(R.string.app_name) + " " + BuildConfig.VERSION_NAME + " crash log"; draft.received = new Date().getTime(); draft.seen = false; draft.ui_seen = false; diff --git a/app/src/main/java/eu/faircode/email/FragmentAbout.java b/app/src/main/java/eu/faircode/email/FragmentAbout.java index 24a286f4..494c5338 100644 --- a/app/src/main/java/eu/faircode/email/FragmentAbout.java +++ b/app/src/main/java/eu/faircode/email/FragmentAbout.java @@ -123,7 +123,7 @@ public class FragmentAbout extends FragmentEx { draft.folder = drafts.id; draft.msgid = EntityMessage.generateMessageId(); draft.to = new Address[]{Helper.myAddress()}; - draft.subject = context.getString(R.string.app_name) + " debug info"; + draft.subject = context.getString(R.string.app_name) + " " + BuildConfig.VERSION_NAME + " debug info"; draft.received = new Date().getTime(); draft.seen = false; draft.ui_seen = false;