1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-12-26 10:35:50 +01:00

Amazfit GTR Mini: Remove experimental, change AGPS updates to not use file transfer

This commit is contained in:
José Rebelo 2023-09-16 14:55:27 +01:00
parent 763ee10a6c
commit e855cfec08

View File

@ -37,11 +37,6 @@ import nodomain.freeyourgadget.gadgetbridge.service.devices.huami.amazfitgtrmini
public class AmazfitGTRMiniCoordinator extends Huami2021Coordinator {
private static final Logger LOG = LoggerFactory.getLogger(AmazfitGTRMiniCoordinator.class);
@Override
public boolean isExperimental() {
return true;
}
@NonNull
@Override
public Class<? extends DeviceSupport> getDeviceSupportClass() {
@ -74,6 +69,12 @@ public class AmazfitGTRMiniCoordinator extends Huami2021Coordinator {
return new AmazfitGTRMiniFWInstallHandler(uri, context);
}
@Override
public boolean sendAgpsAsFileTransfer() {
// Even though it's a Zepp OS 2.0 device, it doesn't seem to support the AGPS service
return false;
}
@Override
public boolean supportsContinuousFindDevice() {
return true;