Fix compile errors I hit when building org.libsdl in source2 (part 1 of 2)
authorSam Lantinga <slouken@libsdl.org>
Tue, 23 Apr 2019 12:59:20 -0700
changeset 1271596bb89d176ba
parent 12714 9b7633bd0aa0
child 12716 a870aea86088
Fix compile errors I hit when building org.libsdl in source2 (part 1 of 2)
android-project/app/src/main/java/org/libsdl/app/HIDDeviceManager.java
     1.1 --- a/android-project/app/src/main/java/org/libsdl/app/HIDDeviceManager.java	Tue Apr 23 07:59:31 2019 -0700
     1.2 +++ b/android-project/app/src/main/java/org/libsdl/app/HIDDeviceManager.java	Tue Apr 23 12:59:20 2019 -0700
     1.3 @@ -411,7 +411,7 @@
     1.4  
     1.5          if (mIsChromebook) {
     1.6              mHandler = new Handler(Looper.getMainLooper());
     1.7 -            mLastBluetoothDevices = new ArrayList<>();
     1.8 +            mLastBluetoothDevices = new ArrayList<BluetoothDevice>();
     1.9  
    1.10              // final HIDDeviceManager finalThis = this;
    1.11              // mHandler.postDelayed(new Runnable() {
    1.12 @@ -439,8 +439,8 @@
    1.13              return;
    1.14          }
    1.15  
    1.16 -        ArrayList<BluetoothDevice> disconnected = new ArrayList<>();
    1.17 -        ArrayList<BluetoothDevice> connected = new ArrayList<>();
    1.18 +        ArrayList<BluetoothDevice> disconnected = new ArrayList<BluetoothDevice>();
    1.19 +        ArrayList<BluetoothDevice> connected = new ArrayList<BluetoothDevice>();
    1.20  
    1.21          List<BluetoothDevice> currentConnected = mBluetoothManager.getConnectedDevices(BluetoothProfile.GATT);
    1.22