mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2026-07-31 07:44:24 +02:00
Sony Wena 3: Enable body energy
This commit is contained in:
@@ -1501,8 +1501,8 @@ public class GBDaoGenerator {
|
||||
|
||||
private static Entity addWena3EnergySample(Schema schema, Entity user, Entity device) {
|
||||
Entity activitySample = addEntity(schema, "Wena3EnergySample");
|
||||
addCommonTimeSampleProperties("AbstractTimeSample", activitySample, user, device);
|
||||
activitySample.addIntProperty("energy").notNull();
|
||||
addCommonTimeSampleProperties("AbstractBodyEnergySample", activitySample, user, device);
|
||||
activitySample.addIntProperty("energy").notNull().codeBeforeGetter(OVERRIDE);
|
||||
return activitySample;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user