aboutsummaryrefslogtreecommitdiff
path: root/build/android/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'build/android/src/main/java')
-rw-r--r--build/android/src/main/java/net.minetest.minetest/MtNativeActivity.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/build/android/src/main/java/net.minetest.minetest/MtNativeActivity.java b/build/android/src/main/java/net.minetest.minetest/MtNativeActivity.java
index fc95a8379..3173a71f4 100644
--- a/build/android/src/main/java/net.minetest.minetest/MtNativeActivity.java
+++ b/build/android/src/main/java/net.minetest.minetest/MtNativeActivity.java
@@ -19,6 +19,10 @@ public class MtNativeActivity extends NativeActivity {
public void onDestroy() {
super.onDestroy();
}
+
+ @Override
+ public void onBackPressed() {
+ }
public void copyAssets() {