mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-28 21:06:50 +01:00
Xiaomi: Enable activity fetching for all devices
This commit is contained in:
parent
823bd829ce
commit
8d7a6be7eb
@ -224,20 +224,17 @@ public abstract class XiaomiCoordinator extends AbstractBLEDeviceCoordinator {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean supportsActivityDataFetching() {
|
public boolean supportsActivityDataFetching() {
|
||||||
// TODO It does, but not yet fully working - only in Mi Band 8
|
return true;
|
||||||
return GBApplication.isDebug() || GBApplication.isNightly();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean supportsActivityTracking() {
|
public boolean supportsActivityTracking() {
|
||||||
// TODO It does, but not yet fully working - only in Mi Band 8
|
return true;
|
||||||
return GBApplication.isDebug() || GBApplication.isNightly();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean supportsActivityTracks() {
|
public boolean supportsActivityTracks() {
|
||||||
// TODO It does, but not yet fully working - only in Mi Band 8
|
return true;
|
||||||
return GBApplication.isDebug() || GBApplication.isNightly();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user