Skip to content
Snippets Groups Projects
Verified Commit 3f600980 authored by Torsten Grote's avatar Torsten Grote
Browse files

[android] don't cancel crash reports after sending them

parent e965021e
No related branches found
No related tags found
1 merge request!1049Improve crash screen and reporter
...@@ -151,6 +151,10 @@ public class DevReportActivity extends BaseCrashReportDialog { ...@@ -151,6 +151,10 @@ public class DevReportActivity extends BaseCrashReportDialog {
void closeReport() { void closeReport() {
cancelReports(); cancelReports();
exit();
}
void exit() {
if (!isFeedback()) { if (!isFeedback()) {
Intent i = new Intent(this, HideUiActivity.class); Intent i = new Intent(this, HideUiActivity.class);
i.addFlags(FLAG_ACTIVITY_NEW_TASK i.addFlags(FLAG_ACTIVITY_NEW_TASK
......
...@@ -277,7 +277,7 @@ public class ReportFormFragment extends Fragment ...@@ -277,7 +277,7 @@ public class ReportFormFragment extends Fragment
} }
getDevReportActivity().sendCrashReport(comment, email); getDevReportActivity().sendCrashReport(comment, email);
} }
if (getActivity() != null) getDevReportActivity().closeReport(); if (getActivity() != null) getDevReportActivity().exit();
} }
}.execute(); }.execute();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment