1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-28 21:06:50 +01:00

Tiny logging improvement

This commit is contained in:
cpfeiffer 2015-09-09 21:15:29 +02:00
parent bddf6c8909
commit d9d222ca9b
2 changed files with 2 additions and 1 deletions

View File

@ -360,7 +360,7 @@ public abstract class AbstractChartFragment extends AbstractGBFragment {
String dateStringFrom = ""; String dateStringFrom = "";
String dateStringTo = ""; String dateStringTo = "";
LOG.info("number of samples:" + samples.size()); LOG.info("" + getTitle() + ": number of samples:" + samples.size());
if (samples.size() > 1) { if (samples.size() > 1) {
float movement_divisor; float movement_divisor;
boolean annotate = true; boolean annotate = true;

View File

@ -130,6 +130,7 @@ public class WeekStepsChartFragment extends AbstractChartFragment {
GBDevice device = ((ChartsHost) getHost()).getDevice(); GBDevice device = ((ChartsHost) getHost()).getDevice();
if (device != null) { if (device != null) {
// TODO: eek, this is device specific!
mTargetSteps = MiBandCoordinator.getFitnessGoal(device.getAddress()); mTargetSteps = MiBandCoordinator.getFitnessGoal(device.getAddress());
} }