1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-27 20:36:51 +01:00

Fix method name

This commit is contained in:
cpfeiffer 2016-09-04 22:39:35 +02:00
parent 2c27f30575
commit 411a90326e
2 changed files with 3 additions and 3 deletions

View File

@ -33,7 +33,7 @@ public abstract class AbstractSampleProvider<T extends AbstractActivitySample> i
mSession = session;
}
public GBDevice getmDevice() {
public GBDevice getDevice() {
return mDevice;
}
@ -81,7 +81,7 @@ public abstract class AbstractSampleProvider<T extends AbstractActivitySample> i
}
QueryBuilder<T> qb = getSampleDao().queryBuilder();
Property timestampProperty = getTimestampSampleProperty();
Device dbDevice = DBHelper.findDevice(getmDevice(), getSession());
Device dbDevice = DBHelper.findDevice(getDevice(), getSession());
if (dbDevice == null) {
// no device, no samples
return Collections.emptyList();

View File

@ -36,7 +36,7 @@ public class PebbleHealthSampleProvider extends AbstractSampleProvider<PebbleHea
public List<PebbleHealthActivitySample> getAllActivitySamples(int timestamp_from, int timestamp_to) {
List<PebbleHealthActivitySample> samples = super.getGBActivitySamples(timestamp_from, timestamp_to, ActivityKind.TYPE_ALL);
Device dbDevice = DBHelper.findDevice(getmDevice(), getSession());
Device dbDevice = DBHelper.findDevice(getDevice(), getSession());
if (dbDevice == null) {
// no device, no samples
return Collections.emptyList();