Fix method name
This commit is contained in:
parent
2c27f30575
commit
411a90326e
|
@ -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();
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue