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 dateStringTo = "";
LOG.info("number of samples:" + samples.size());
LOG.info("" + getTitle() + ": number of samples:" + samples.size());
if (samples.size() > 1) {
float movement_divisor;
boolean annotate = true;

View File

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