1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-12-01 06:22:55 +01:00

Updated initial array list size to reflect reality

This commit is contained in:
cpfeiffer 2017-01-28 22:43:48 +01:00
parent 4c48b473ac
commit 6c16b4fb15

View File

@ -166,7 +166,7 @@ public class DeviceHelper {
}
private List<DeviceCoordinator> createCoordinators() {
List<DeviceCoordinator> result = new ArrayList<>(2);
List<DeviceCoordinator> result = new ArrayList<>();
result.add(new MiBand2Coordinator()); // Note: MiBand2 must come before MiBand because detection is hacky, atm
result.add(new MiBandCoordinator());
result.add(new PebbleCoordinator());