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

This commit is contained in:
Torsten Grote
2019-06-10 13:27:27 -03:00
parent e965021e3d
commit 3f60098099
2 changed files with 5 additions and 1 deletions

View File

@@ -151,6 +151,10 @@ public class DevReportActivity extends BaseCrashReportDialog {
void closeReport() {
cancelReports();
exit();
}
void exit() {
if (!isFeedback()) {
Intent i = new Intent(this, HideUiActivity.class);
i.addFlags(FLAG_ACTIVITY_NEW_TASK

View File

@@ -277,7 +277,7 @@ public class ReportFormFragment extends Fragment
}
getDevReportActivity().sendCrashReport(comment, email);
}
if (getActivity() != null) getDevReportActivity().closeReport();
if (getActivity() != null) getDevReportActivity().exit();
}
}.execute();
}