Browse Source

Added crash remark

main
M66B 5 years ago
parent
commit
cb8a9e4d5d
2 changed files with 4 additions and 0 deletions
  1. +3
    -0
      app/src/main/java/eu/faircode/email/ActivityView.java
  2. +1
    -0
      app/src/main/res/values/strings.xml

+ 3
- 0
app/src/main/java/eu/faircode/email/ActivityView.java View File

@ -253,6 +253,9 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
if (file.exists()) {
// Get version info
StringBuilder sb = new StringBuilder();
sb.append(context.getString(R.string.title_crash_info_remark) + "\n\n\n\n");
sb.append(String.format("%s: %s\r\n", context.getString(R.string.app_name), BuildConfig.VERSION_NAME));
sb.append(String.format("Android: %s (SDK %d)\r\n", Build.VERSION.RELEASE, Build.VERSION.SDK_INT));
sb.append("\r\n");


+ 1
- 0
app/src/main/res/values/strings.xml View File

@ -237,4 +237,5 @@
<string name="title_log">Log</string>
<string name="title_debug_info">Debug info</string>
<string name="title_debug_info_remark">Please describe the problem and indicate the time of the problem:</string>
<string name="title_crash_info_remark">Please describe what you were doing when the app crashed:</string>
</resources>

Loading…
Cancel
Save