From d19861b348bae9c9e567474f2470330f8dc51308 Mon Sep 17 00:00:00 2001 From: Yair Morgenstern Date: Thu, 10 Jan 2019 20:43:32 +0200 Subject: [PATCH] Maybe solved an ANR caused by resume(), it's hard to tell --- android/build.gradle | 4 ++-- core/src/com/unciv/UnCivGame.kt | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index ce0039609f..366b548c67 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -21,8 +21,8 @@ android { applicationId "com.unciv.app" minSdkVersion 14 targetSdkVersion 28 - versionCode 188 - versionName "2.11.6" + versionCode 189 + versionName "2.11.7" } // Had to add this crap for Travis to build, it wanted to sign the app diff --git a/core/src/com/unciv/UnCivGame.kt b/core/src/com/unciv/UnCivGame.kt index edbe309f62..c98d93a2ea 100644 --- a/core/src/com/unciv/UnCivGame.kt +++ b/core/src/com/unciv/UnCivGame.kt @@ -64,6 +64,7 @@ class UnCivGame : Game() { } override fun resume() { + super.resume() ImageGetter.refreshAltas() // This is to solve a rare problem that I still on't understand its cause -