1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-06 02:07:05 +01:00

Don't store the live step values in the db

This commit is contained in:
cpfeiffer 2018-09-11 23:26:51 +02:00
parent add9be5ff6
commit b6d68207cb

View File

@ -1343,7 +1343,7 @@ public class HuamiSupport extends AbstractBTLEDeviceSupport {
MiBand2SampleProvider provider = new MiBand2SampleProvider(gbDevice, session);
MiBandActivitySample sample = createActivitySample(device, user, ts, provider);
sample.setHeartRate(getHeartrateBpm());
sample.setSteps(getSteps());
// sample.setSteps(getSteps());
sample.setRawIntensity(ActivitySample.NOT_MEASURED);
sample.setRawKind(HuamiConst.TYPE_ACTIVITY); // to make it visible in the charts TODO: add a MANUAL kind for that?