1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-12-26 10:35:50 +01:00

*return* the created device!

This commit is contained in:
cpfeiffer 2016-08-18 21:29:26 +02:00
parent deeaa87df7
commit 7a16834482

View File

@ -118,7 +118,7 @@ public class DeviceHelper {
} }
for (DeviceCoordinator coordinator : getAllCoordinators()) { for (DeviceCoordinator coordinator : getAllCoordinators()) {
if (coordinator.supports(candidate)) { if (coordinator.supports(candidate)) {
coordinator.createDevice(candidate); return coordinator.createDevice(candidate);
} }
} }
return null; return null;