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

parent e965021e
......@@ -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
......
......@@ -277,7 +277,7 @@ public class ReportFormFragment extends Fragment
}
getDevReportActivity().sendCrashReport(comment, email);
}
if (getActivity() != null) getDevReportActivity().closeReport();
if (getActivity() != null) getDevReportActivity().exit();
}
}.execute();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment