*return* the created device!
This commit is contained in:
parent
deeaa87df7
commit
7a16834482
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue