CrashScreen info improved, allow easier testing of CrashScreen (#10485)

* Drop AndroidTvLauncher - unused

* Additional memory info on Android CrashScreen

* Refactor getModsAndBaseRuleset - reduce clones and put base first

* Add Permanent audiovisual Mods to CrashScreen report

* Add a secret Debug option to intentionally crash Unciv

* Make "Secret" debug OptionsPopup page available on Android w/o physical keyboard

* Add AndroidTvLauncher back in

---------

Co-authored-by: Yair Morgenstern <yairm210@hotmail.com>
This commit is contained in:
SomeTroglodyte
2023-11-13 21:26:38 +01:00
committed by GitHub
parent 60e2af3bba
commit 659a01c166
14 changed files with 102 additions and 36 deletions

View File

@ -20,7 +20,7 @@ open class AndroidLauncher : AndroidApplication() {
super.onCreate(savedInstanceState)
// Setup Android logging
Log.backend = AndroidLogBackend()
Log.backend = AndroidLogBackend(this)
// Setup Android display
Display.platform = AndroidDisplay(this)
@ -109,5 +109,3 @@ open class AndroidLauncher : AndroidApplication() {
super.onActivityResult(requestCode, resultCode, data)
}
}
class AndroidTvLauncher:AndroidLauncher()