mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-25 19:36:50 +01:00
Amazfit GTR Mini: Remove experimental, change AGPS updates to not use file transfer
This commit is contained in:
parent
763ee10a6c
commit
e855cfec08
@ -37,11 +37,6 @@ import nodomain.freeyourgadget.gadgetbridge.service.devices.huami.amazfitgtrmini
|
|||||||
public class AmazfitGTRMiniCoordinator extends Huami2021Coordinator {
|
public class AmazfitGTRMiniCoordinator extends Huami2021Coordinator {
|
||||||
private static final Logger LOG = LoggerFactory.getLogger(AmazfitGTRMiniCoordinator.class);
|
private static final Logger LOG = LoggerFactory.getLogger(AmazfitGTRMiniCoordinator.class);
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean isExperimental() {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
@NonNull
|
@NonNull
|
||||||
@Override
|
@Override
|
||||||
public Class<? extends DeviceSupport> getDeviceSupportClass() {
|
public Class<? extends DeviceSupport> getDeviceSupportClass() {
|
||||||
@ -74,6 +69,12 @@ public class AmazfitGTRMiniCoordinator extends Huami2021Coordinator {
|
|||||||
return new AmazfitGTRMiniFWInstallHandler(uri, context);
|
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
|
@Override
|
||||||
public boolean supportsContinuousFindDevice() {
|
public boolean supportsContinuousFindDevice() {
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user