mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-11 01:21:56 +01:00
Pinetime-JF: Recognize device if it annouces itself as InfiniTime
This commit is contained in:
parent
1d51c58f15
commit
1c2218079b
@ -37,7 +37,7 @@ public class PineTimeJFCoordinator extends AbstractDeviceCoordinator {
|
||||
@Override
|
||||
public DeviceType getSupportedType(GBDeviceCandidate candidate) {
|
||||
String name = candidate.getDevice().getName();
|
||||
if (name != null && name.startsWith("Pinetime-JF")) {
|
||||
if (name != null && (name.startsWith("Pinetime-JF") || name.startsWith("InfiniTime"))) {
|
||||
return DeviceType.PINETIME_JF;
|
||||
}
|
||||
return DeviceType.UNKNOWN;
|
||||
|
Loading…
Reference in New Issue
Block a user