Maybe solved an ANR caused by resume(), it's hard to tell

This commit is contained in:
Yair Morgenstern
2019-01-10 20:43:32 +02:00
parent c7dbad1085
commit d19861b348
2 changed files with 3 additions and 2 deletions

View File

@ -21,8 +21,8 @@ android {
applicationId "com.unciv.app" applicationId "com.unciv.app"
minSdkVersion 14 minSdkVersion 14
targetSdkVersion 28 targetSdkVersion 28
versionCode 188 versionCode 189
versionName "2.11.6" versionName "2.11.7"
} }
// Had to add this crap for Travis to build, it wanted to sign the app // Had to add this crap for Travis to build, it wanted to sign the app

View File

@ -64,6 +64,7 @@ class UnCivGame : Game() {
} }
override fun resume() { override fun resume() {
super.resume()
ImageGetter.refreshAltas() ImageGetter.refreshAltas()
// This is to solve a rare problem that I still on't understand its cause - // This is to solve a rare problem that I still on't understand its cause -