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