浏览代码

Changed motion listener implementation not to inherit from Activity class.

Philipp Wiesemann 12 年之前
父节点
当前提交
26ce68e8c2
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      android-project/src/org/libsdl/app/SDLActivity.java

+ 1 - 1
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