mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-19 14:19:53 +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() {
|
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
|
|||||||
}
|
}
|
||||||
getDevReportActivity().sendCrashReport(comment, email);
|
getDevReportActivity().sendCrashReport(comment, email);
|
||||||
}
|
}
|
||||||
if (getActivity() != null) getDevReportActivity().closeReport();
|
if (getActivity() != null) getDevReportActivity().exit();
|
||||||
}
|
}
|
||||||
}.execute();
|
}.execute();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user