mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-09-10 08:16:48 +02:00
Avoid KIA Sportage appearing in the list of devices
This commit is contained in:
parent
c845e16cfa
commit
efd7195725
@ -35,7 +35,7 @@ public class MakibesF68Coordinator extends HPlusCoordinator {
|
|||||||
@Override
|
@Override
|
||||||
public DeviceType getSupportedType(GBDeviceCandidate candidate) {
|
public DeviceType getSupportedType(GBDeviceCandidate candidate) {
|
||||||
String name = candidate.getDevice().getName();
|
String name = candidate.getDevice().getName();
|
||||||
if(name != null && name.startsWith("SPORT")){
|
if(name != null && name.startsWith("SPORT") && !name.startsWith("SPORTAGE")){
|
||||||
return DeviceType.MAKIBESF68;
|
return DeviceType.MAKIBESF68;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user