1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-29 13:26:50 +01:00

add missing AbstractFitProActivitySample from entities (excluded by gitignore)

This commit is contained in:
vanous 2021-09-24 10:00:17 +02:00
parent 264b003809
commit 3cde7eca7e

View File

@ -0,0 +1,44 @@
package nodomain.freeyourgadget.gadgetbridge.entities;
public abstract class AbstractFitProActivitySample extends AbstractActivitySample {
abstract public int getSteps();
@Override
public int getRawIntensity() {
return getSteps();
}
@Override
public void setTimestamp(int timestamp) {
}
@Override
public void setUserId(long userId) {
}
@Override
public void setDeviceId(long deviceId) {
}
@Override
public long getDeviceId() {
return 0;
}
@Override
public long getUserId() {
return 0;
}
@Override
public int getTimestamp() {
return 0;
}
}