Commit 26ce68e8c28c87eba4e6f63da62ea17585908c7c

Philipp Wiesemann 2013-11-10T15:04:58

Changed motion listener implementation not to inherit from Activity class.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/android-project/src/org/libsdl/app/SDLActivity.java b/android-project/src/org/libsdl/app/SDLActivity.java
index 426dd97..bd96e4d 100644
--- a/android-project/src/org/libsdl/app/SDLActivity.java
+++ b/android-project/src/org/libsdl/app/SDLActivity.java
@@ -885,7 +885,7 @@ class SDLJoystickHandler_API12 extends SDLJoystickHandler {
     
 }
 
-class SDLGenericMotionHandler_API12 extends Activity implements View.OnGenericMotionListener {
+class SDLGenericMotionHandler_API12 implements View.OnGenericMotionListener {
     // Generic Motion (mouse hover, joystick...) events go here
     // We only have joysticks yet
     @Override