Removed not needed block from Java file.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Sun, 05 May 2013 16:01:19 +0200
changeset 7150 151aa63ab281
parent 7149 534891ad4897
child 7151 99a4964db4c3
Removed not needed block from Java file.
android-project/src/org/libsdl/app/SDLActivity.java
--- a/android-project/src/org/libsdl/app/SDLActivity.java	Sun May 05 15:54:56 2013 +0200
+++ b/android-project/src/org/libsdl/app/SDLActivity.java	Sun May 05 16:01:19 2013 +0200
@@ -622,11 +622,10 @@
     // Touch events
     @Override
     public boolean onTouch(View v, MotionEvent event) {
-        {
              final int touchDevId = event.getDeviceId();
              final int pointerCount = event.getPointerCount();
              // touchId, pointerId, action, x, y, pressure
-             int actionPointerIndex = (event.getAction() & MotionEvent.ACTION_POINTER_ID_MASK) >> MotionEvent. ACTION_POINTER_ID_SHIFT; /* API 8: event.getActionIndex(); */
+             int actionPointerIndex = (event.getAction() & MotionEvent.ACTION_POINTER_ID_MASK) >> MotionEvent.ACTION_POINTER_ID_SHIFT; /* API 8: event.getActionIndex(); */
              int pointerFingerId = event.getPointerId(actionPointerIndex);
              int action = (event.getAction() & MotionEvent.ACTION_MASK); /* API 8: event.getActionMasked(); */
 
@@ -647,7 +646,6 @@
              } else {
                 SDLActivity.onNativeTouch(touchDevId, pointerFingerId, action, x, y, p);
              }
-        }
       return true;
    }