mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 18:59:06 +01:00
[android] don't cancel crash reports after sending them
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user