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:
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
Block a user