1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-12-25 18:15:49 +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()) {
if (coordinator.supports(candidate)) {
coordinator.createDevice(candidate);
return coordinator.createDevice(candidate);
}
}
return null;