mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-26 10:35:50 +01:00
Zepp OS: Enable AGPS updates for all devices
This commit is contained in:
parent
f86cd39385
commit
0e06bde741
@ -462,9 +462,12 @@ public abstract class Huami2021Coordinator extends HuamiCoordinator {
|
||||
}
|
||||
|
||||
public boolean supportsAgpsUpdates() {
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* true for Zepp OS 2.0+, false for Zepp OS 1
|
||||
*/
|
||||
public boolean sendAgpsAsFileTransfer() {
|
||||
return true;
|
||||
}
|
||||
|
@ -61,6 +61,11 @@ public class AmazfitBand7Coordinator extends Huami2021Coordinator {
|
||||
return new AmazfitBand7FWInstallHandler(uri, context);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean supportsAgpsUpdates() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean supportsBluetoothPhoneCalls(final GBDevice device) {
|
||||
return false;
|
||||
|
@ -61,11 +61,6 @@ public class AmazfitGTR3Coordinator extends Huami2021Coordinator {
|
||||
return new AmazfitGTR3FWInstallHandler(uri, context);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean supportsAgpsUpdates() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean sendAgpsAsFileTransfer() {
|
||||
return false;
|
||||
|
@ -61,6 +61,11 @@ public class AmazfitGTR3ProCoordinator extends Huami2021Coordinator {
|
||||
return new AmazfitGTR3ProFWInstallHandler(uri, context);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean sendAgpsAsFileTransfer() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean supportsBluetoothPhoneCalls(final GBDevice device) {
|
||||
return true;
|
||||
|
@ -66,11 +66,6 @@ public class AmazfitGTR4Coordinator extends Huami2021Coordinator {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean supportsAgpsUpdates() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean supportsGpxUploads() {
|
||||
return true;
|
||||
|
@ -61,11 +61,6 @@ public class AmazfitGTS3Coordinator extends Huami2021Coordinator {
|
||||
return new AmazfitGTS3FWInstallHandler(uri, context);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean supportsAgpsUpdates() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean sendAgpsAsFileTransfer() {
|
||||
return false;
|
||||
|
@ -66,11 +66,6 @@ public class AmazfitGTS4Coordinator extends Huami2021Coordinator {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean supportsAgpsUpdates() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean supportsGpxUploads() {
|
||||
return true;
|
||||
|
@ -61,6 +61,11 @@ public class AmazfitGTS4MiniCoordinator extends Huami2021Coordinator {
|
||||
return new AmazfitGTS4MiniFWInstallHandler(uri, context);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean sendAgpsAsFileTransfer() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean supportsBluetoothPhoneCalls(final GBDevice device) {
|
||||
return false;
|
||||
|
@ -71,6 +71,11 @@ public class AmazfitTRex2Coordinator extends Huami2021Coordinator {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean sendAgpsAsFileTransfer() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean supportsBluetoothPhoneCalls(final GBDevice device) {
|
||||
return false;
|
||||
|
@ -61,6 +61,11 @@ public class MiBand7Coordinator extends Huami2021Coordinator {
|
||||
return new MiBand7FWInstallHandler(uri, context);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean supportsAgpsUpdates() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean supportsScreenshots() {
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user