mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-10 17:11:56 +01: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:
parent
6de7af62e3
commit
820956ccdc
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user