mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-25 10:05: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()) {
|
||||
if (coordinator.supports(candidate)) {
|
||||
coordinator.createDevice(candidate);
|
||||
return coordinator.createDevice(candidate);
|
||||
}
|
||||
}
|
||||
return null;
|
||||
|
Loading…
Reference in New Issue
Block a user