1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-08-04 13:02:12 +02:00

Avoid KIA Sportage appearing in the list of devices

This commit is contained in:
Stan Gomin 2018-11-17 20:22:14 +11:00 committed by Carsten Pfeiffer
parent c845e16cfa
commit efd7195725

View File

@ -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;
} }