mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-30 14:02:56 +01:00
Don't store the live step values in the db
This commit is contained in:
parent
add9be5ff6
commit
b6d68207cb
@ -1343,7 +1343,7 @@ public class HuamiSupport extends AbstractBTLEDeviceSupport {
|
|||||||
MiBand2SampleProvider provider = new MiBand2SampleProvider(gbDevice, session);
|
MiBand2SampleProvider provider = new MiBand2SampleProvider(gbDevice, session);
|
||||||
MiBandActivitySample sample = createActivitySample(device, user, ts, provider);
|
MiBandActivitySample sample = createActivitySample(device, user, ts, provider);
|
||||||
sample.setHeartRate(getHeartrateBpm());
|
sample.setHeartRate(getHeartrateBpm());
|
||||||
sample.setSteps(getSteps());
|
// sample.setSteps(getSteps());
|
||||||
sample.setRawIntensity(ActivitySample.NOT_MEASURED);
|
sample.setRawIntensity(ActivitySample.NOT_MEASURED);
|
||||||
sample.setRawKind(HuamiConst.TYPE_ACTIVITY); // to make it visible in the charts TODO: add a MANUAL kind for that?
|
sample.setRawKind(HuamiConst.TYPE_ACTIVITY); // to make it visible in the charts TODO: add a MANUAL kind for that?
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user