Browse Source

Include version in subject of crash log / debug info

main
M66B 6 years ago
parent
commit
89cb8cd771
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      app/src/main/java/eu/faircode/email/ActivityView.java
  2. +1
    -1
      app/src/main/java/eu/faircode/email/FragmentAbout.java

+ 1
- 1
app/src/main/java/eu/faircode/email/ActivityView.java 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;


+ 1
- 1
app/src/main/java/eu/faircode/email/FragmentAbout.java 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;


Loading…
Cancel
Save