mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 06:38:29 +02:00
Allow reporting unexpected errors
This commit is contained in:
@@ -512,9 +512,7 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
|
||||
protected Long onLoad(Context context, Bundle args) throws Throwable {
|
||||
File file = new File(context.getCacheDir(), "crash.log");
|
||||
if (file.exists()) {
|
||||
// Get version info
|
||||
StringBuilder sb = new StringBuilder();
|
||||
|
||||
sb.append(context.getString(R.string.title_crash_info_remark)).append("\n\n\n\n");
|
||||
sb.append(Helper.getAppInfo(context));
|
||||
|
||||
@@ -576,7 +574,6 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
|
||||
new Intent(ActivityView.this, ActivityCompose.class)
|
||||
.putExtra("action", "edit")
|
||||
.putExtra("id", id));
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -836,7 +833,6 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
|
||||
@Override
|
||||
protected Long onLoad(Context context, Bundle args) throws UnsupportedEncodingException {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
|
||||
sb.append(context.getString(R.string.title_debug_info_remark) + "\n\n\n\n");
|
||||
sb.append(Helper.getAppInfo(context));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user