mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-27 19:15: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() {
|
public boolean supportsAgpsUpdates() {
|
||||||
return false;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* true for Zepp OS 2.0+, false for Zepp OS 1
|
||||||
|
*/
|
||||||
public boolean sendAgpsAsFileTransfer() {
|
public boolean sendAgpsAsFileTransfer() {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -61,6 +61,11 @@ public class AmazfitBand7Coordinator extends Huami2021Coordinator {
|
|||||||
return new AmazfitBand7FWInstallHandler(uri, context);
|
return new AmazfitBand7FWInstallHandler(uri, context);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean supportsAgpsUpdates() {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean supportsBluetoothPhoneCalls(final GBDevice device) {
|
public boolean supportsBluetoothPhoneCalls(final GBDevice device) {
|
||||||
return false;
|
return false;
|
||||||
|
@ -61,11 +61,6 @@ public class AmazfitGTR3Coordinator extends Huami2021Coordinator {
|
|||||||
return new AmazfitGTR3FWInstallHandler(uri, context);
|
return new AmazfitGTR3FWInstallHandler(uri, context);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean supportsAgpsUpdates() {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean sendAgpsAsFileTransfer() {
|
public boolean sendAgpsAsFileTransfer() {
|
||||||
return false;
|
return false;
|
||||||
|
@ -61,6 +61,11 @@ public class AmazfitGTR3ProCoordinator extends Huami2021Coordinator {
|
|||||||
return new AmazfitGTR3ProFWInstallHandler(uri, context);
|
return new AmazfitGTR3ProFWInstallHandler(uri, context);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean sendAgpsAsFileTransfer() {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean supportsBluetoothPhoneCalls(final GBDevice device) {
|
public boolean supportsBluetoothPhoneCalls(final GBDevice device) {
|
||||||
return true;
|
return true;
|
||||||
|
@ -66,11 +66,6 @@ public class AmazfitGTR4Coordinator extends Huami2021Coordinator {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean supportsAgpsUpdates() {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean supportsGpxUploads() {
|
public boolean supportsGpxUploads() {
|
||||||
return true;
|
return true;
|
||||||
|
@ -61,11 +61,6 @@ public class AmazfitGTS3Coordinator extends Huami2021Coordinator {
|
|||||||
return new AmazfitGTS3FWInstallHandler(uri, context);
|
return new AmazfitGTS3FWInstallHandler(uri, context);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean supportsAgpsUpdates() {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean sendAgpsAsFileTransfer() {
|
public boolean sendAgpsAsFileTransfer() {
|
||||||
return false;
|
return false;
|
||||||
|
@ -66,11 +66,6 @@ public class AmazfitGTS4Coordinator extends Huami2021Coordinator {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean supportsAgpsUpdates() {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean supportsGpxUploads() {
|
public boolean supportsGpxUploads() {
|
||||||
return true;
|
return true;
|
||||||
|
@ -61,6 +61,11 @@ public class AmazfitGTS4MiniCoordinator extends Huami2021Coordinator {
|
|||||||
return new AmazfitGTS4MiniFWInstallHandler(uri, context);
|
return new AmazfitGTS4MiniFWInstallHandler(uri, context);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean sendAgpsAsFileTransfer() {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean supportsBluetoothPhoneCalls(final GBDevice device) {
|
public boolean supportsBluetoothPhoneCalls(final GBDevice device) {
|
||||||
return false;
|
return false;
|
||||||
|
@ -71,6 +71,11 @@ public class AmazfitTRex2Coordinator extends Huami2021Coordinator {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean sendAgpsAsFileTransfer() {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean supportsBluetoothPhoneCalls(final GBDevice device) {
|
public boolean supportsBluetoothPhoneCalls(final GBDevice device) {
|
||||||
return false;
|
return false;
|
||||||
|
@ -61,6 +61,11 @@ public class MiBand7Coordinator extends Huami2021Coordinator {
|
|||||||
return new MiBand7FWInstallHandler(uri, context);
|
return new MiBand7FWInstallHandler(uri, context);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean supportsAgpsUpdates() {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean supportsScreenshots() {
|
public boolean supportsScreenshots() {
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user