Fix compile errors I hit when building org.libsdl in source2 (part 1 of 2)
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 db9400f..241775d 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);