Don't prompt for crash report

This commit is contained in:
SpiritCroc 2020-05-27 16:08:56 +02:00
parent 02e3e2b12e
commit 1d97f79564
1 changed files with 2 additions and 0 deletions

View File

@ -233,12 +233,14 @@ class HomeActivity : VectorBaseActivity(), ToolbarConfigurable {
if (vectorUncaughtExceptionHandler.didAppCrash(this)) { if (vectorUncaughtExceptionHandler.didAppCrash(this)) {
vectorUncaughtExceptionHandler.clearAppCrashStatus(this) vectorUncaughtExceptionHandler.clearAppCrashStatus(this)
/*
AlertDialog.Builder(this) AlertDialog.Builder(this)
.setMessage(R.string.send_bug_report_app_crashed) .setMessage(R.string.send_bug_report_app_crashed)
.setCancelable(false) .setCancelable(false)
.setPositiveButton(R.string.yes) { _, _ -> bugReporter.openBugReportScreen(this) } .setPositiveButton(R.string.yes) { _, _ -> bugReporter.openBugReportScreen(this) }
.setNegativeButton(R.string.no) { _, _ -> bugReporter.deleteCrashFile(this) } .setNegativeButton(R.string.no) { _, _ -> bugReporter.deleteCrashFile(this) }
.show() .show()
*/
} else { } else {
showDisclaimerDialog(this) showDisclaimerDialog(this)
} }