mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-13 01:08:25 +07:00
New crash handler screen Part 2: Threads, runnables, more informative reports. (#5810)
* Add crashHandlingThread. * Replace all uses of `thread` with `crashHandlingThread`. * Add `postCrashHandlingRunnable`. * Replace all uses of `Gdx.app.postRunnable` with `postCrashHandlingRunnable`. * Remove CrashController and CrashReport; Strip down CrashReportSender to CrashReportSysInfo; Fold their functionality into CrashScreen. * Typo in comments, rename `SafeCrashStage` to `CrashHandlingStage`. * Tweak docs. * Tweak docs, comments, text. Undo an accidentally recursive Replace All change. * Remove replaced translations. * More readable indentation handling in report template.
This commit is contained in:
@ -39,7 +39,7 @@ open class AndroidLauncher : AndroidApplication() {
|
||||
}
|
||||
val androidParameters = UncivGameParameters(
|
||||
version = BuildConfig.VERSION_NAME,
|
||||
crashReportSender = CrashReportSenderAndroid(this),
|
||||
crashReportSysInfo = CrashReportSysInfoAndroid,
|
||||
fontImplementation = NativeFontAndroid(Fonts.ORIGINAL_FONT_SIZE.toInt()),
|
||||
customSaveLocationHelper = customSaveLocationHelper,
|
||||
limitOrientationsHelper = limitOrientationsHelper
|
||||
|
Reference in New Issue
Block a user