Re-enable crash report prompt onResume

Change-Id: Id21aae4b2c24cdd3fd3ee0051a0369034c117cea
This commit is contained in:
SpiritCroc 2021-06-23 11:11:10 +02:00
parent 0389084cb6
commit 7f84f79693
1 changed files with 0 additions and 2 deletions

View File

@ -425,14 +425,12 @@ class HomeActivity :
if (vectorUncaughtExceptionHandler.didAppCrash(this)) { if (vectorUncaughtExceptionHandler.didAppCrash(this)) {
vectorUncaughtExceptionHandler.clearAppCrashStatus(this) vectorUncaughtExceptionHandler.clearAppCrashStatus(this)
/*
MaterialAlertDialogBuilder(this) MaterialAlertDialogBuilder(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)
} }