Include version in subject of crash log / debug info

pull/125/head
M66B 6 years ago
parent f12975c6c3
commit 89cb8cd771

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

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

Loading…
Cancel
Save