1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-27 02:07:12 +00:00

Added crash remark

This commit is contained in:
M66B 2018-09-12 10:24:28 +00:00
parent d6970bb1bf
commit cb8a9e4d5d
2 changed files with 4 additions and 0 deletions

View file

@ -253,6 +253,9 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
if (file.exists()) { if (file.exists()) {
// Get version info // Get version info
StringBuilder sb = new StringBuilder(); 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("%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(String.format("Android: %s (SDK %d)\r\n", Build.VERSION.RELEASE, Build.VERSION.SDK_INT));
sb.append("\r\n"); sb.append("\r\n");

View file

@ -237,4 +237,5 @@
<string name="title_log">Log</string> <string name="title_log">Log</string>
<string name="title_debug_info">Debug info</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_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> </resources>