Include version in subject of crash log / debug info

This commit is contained in:
M66B 2018-09-08 09:10:34 +00:00
parent f12975c6c3
commit 89cb8cd771
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;