with Restart After Crash
fun withRestartAfterCrash(restartAfterCrash: Boolean): SchedulerConfigurationBuilder
Content copied to clipboard
Restarts the last activity immediately after a crash. If an activity is restarted, the {@link org.acra.annotation.AcraScheduler#EXTRA_APP_RESTARTED} extra will contain a boolean true. Note that this might interact badly with the crash dialog.
Since
5.2.0
Return
this instance
Parameters
restartAfterCrash
if acra should attempt to restart the app after a crash