diff --git a/android-project/src/org/libsdl/app/SDLActivity.java b/android-project/src/org/libsdl/app/SDLActivity.java index 915483b10..8fa0cd8fd 100755 --- a/android-project/src/org/libsdl/app/SDLActivity.java +++ b/android-project/src/org/libsdl/app/SDLActivity.java @@ -1,5 +1,6 @@ package org.libsdl.app; +import java.util.ArrayList; import java.util.Arrays; import android.app.*; @@ -16,10 +17,6 @@ import android.graphics.*; import android.media.*; import android.hardware.*; -import java.lang.*; -import java.util.List; -import java.util.ArrayList; - /** SDL Activity @@ -836,7 +833,7 @@ class SDLJoystickHandler { /* Actual joystick functionality available for API >= 12 devices */ class SDLJoystickHandler_API12 extends SDLJoystickHandler { - private List mJoyIdList; + private ArrayList mJoyIdList; // Create a list of valid ID's the first time this function is called private void createJoystickList() {