Commit 45a3dd171d974e3b3b32d578bb5231b56f083242

Sylvain Becker 2019-06-11T10:19:26

Android: revert wrong fix typo calling onBackPressed() (Bug 4657)

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/android-project/app/src/main/java/org/libsdl/app/SDLActivity.java b/android-project/app/src/main/java/org/libsdl/app/SDLActivity.java
index 2dbdef7..d0e2f8a 100644
--- a/android-project/app/src/main/java/org/libsdl/app/SDLActivity.java
+++ b/android-project/app/src/main/java/org/libsdl/app/SDLActivity.java
@@ -473,7 +473,7 @@ public class SDLActivity extends Activity implements View.OnSystemUiVisibilityCh
 
     // Used to access the system back behavior.
     public void superOnBackPressed() {
-        onBackPressed();
+        super.onBackPressed();
     }
 
     @Override