diff options
author | Sam Lantinga <slouken@libsdl.org> | 2019-04-23 12:59:20 -0700 |
---|---|---|
committer | Sam Lantinga <slouken@libsdl.org> | 2019-04-23 12:59:20 -0700 |
commit | 7aa39fb5d3714d3b334b345e3c72dc03d2e80e7f (patch) | |
tree | 1a482edcf2033ac96223f1c6ce821bb2d035db42 | |
parent | 51ca1be5843ee247d1ff89aa05f79badfd25b170 (diff) |
Fix compile errors I hit when building org.libsdl in source2 (part 1 of 2)
-rw-r--r-- | android-project/app/src/main/java/org/libsdl/app/HIDDeviceManager.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/android-project/app/src/main/java/org/libsdl/app/HIDDeviceManager.java b/android-project/app/src/main/java/org/libsdl/app/HIDDeviceManager.java index db9400f6d6..241775d466 100644 --- a/android-project/app/src/main/java/org/libsdl/app/HIDDeviceManager.java +++ b/android-project/app/src/main/java/org/libsdl/app/HIDDeviceManager.java @@ -411,7 +411,7 @@ public class HIDDeviceManager { if (mIsChromebook) { mHandler = new Handler(Looper.getMainLooper()); - mLastBluetoothDevices = new ArrayList<>(); + mLastBluetoothDevices = new ArrayList<BluetoothDevice>(); // final HIDDeviceManager finalThis = this; // mHandler.postDelayed(new Runnable() { @@ -439,8 +439,8 @@ public class HIDDeviceManager { return; } - ArrayList<BluetoothDevice> disconnected = new ArrayList<>(); - ArrayList<BluetoothDevice> connected = new ArrayList<>(); + ArrayList<BluetoothDevice> disconnected = new ArrayList<BluetoothDevice>(); + ArrayList<BluetoothDevice> connected = new ArrayList<BluetoothDevice>(); List<BluetoothDevice> currentConnected = mBluetoothManager.getConnectedDevices(BluetoothProfile.GATT); |