1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-06-20 03:50:43 +02:00

Xiaomi: Disable activity fetching outside of Mi Band 8

It has a lot of issues, and should not be enabled to proceed with a
release.
This commit is contained in:
José Rebelo 2023-12-11 22:16:00 +00:00
parent 6de7af62e3
commit 820956ccdc
2 changed files with 17 additions and 3 deletions

View File

@ -217,18 +217,20 @@ public abstract class XiaomiCoordinator extends AbstractBLEDeviceCoordinator {
@Override
public boolean supportsActivityDataFetching() {
return true;
// TODO It does, but not yet fully working - only in Mi Band 8
return false;
}
@Override
public boolean supportsActivityTracking() {
return true;
// TODO It does, but not yet fully working - only in Mi Band 8
return false;
}
@Override
public boolean supportsActivityTracks() {
// TODO It does, but not yet fully working
return BuildConfig.DEBUG;
return false;
}
@Override

View File

@ -61,6 +61,18 @@ public class MiBand8Coordinator extends XiaomiCoordinator {
return R.drawable.ic_device_miband6_disabled;
}
@Override
public boolean supportsActivityDataFetching() {
// FIXME still has some issues
return true;
}
@Override
public boolean supportsActivityTracking() {
// FIXME still has some issues
return true;
}
@Override
public boolean supportsMultipleWeatherLocations() {
return true;