From: fred-boy Date: Sun, 22 Apr 2018 09:39:12 +0000 (+0700) Subject: Fix exit on back button X-Git-Tag: alpha0.2.1~3 X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=a97e7d5f05c7da6aa4cac6d8bcd2e9a9f40ddd0b;p=cavedroid.git Fix exit on back button --- diff --git a/android/src/ru/deadsoftware/cavecraft/AndroidLauncher.java b/android/src/ru/deadsoftware/cavecraft/AndroidLauncher.java index 38dfb88..aed5e8e 100644 --- a/android/src/ru/deadsoftware/cavecraft/AndroidLauncher.java +++ b/android/src/ru/deadsoftware/cavecraft/AndroidLauncher.java @@ -15,4 +15,8 @@ public class AndroidLauncher extends AndroidApplication { config.useImmersiveMode = true; initialize(new CaveGame(true), config); } + + @Override + public void onBackPressed() { + } }