BaseWatchFace: Resolve issue causing Bolus and Wizard activities to fail to complete.

This commit is contained in:
Andrew Warrington 2018-01-29 23:31:54 +01:00
parent 9255b93800
commit 44e6c874c0

View file

@ -70,7 +70,6 @@ public abstract class BaseWatchFace extends WatchFace implements SharedPreferen
public boolean layoutSet = false;
public boolean bIsRound = false;
public int pointSize = 2;
public int missed_readings_alert_id = 818;
public BgGraphBuilder bgGraphBuilder;
public LineChartView chart;
public ArrayList<BgWatchData> bgDataList = new ArrayList<>();
@ -181,7 +180,6 @@ public abstract class BaseWatchFace extends WatchFace implements SharedPreferen
}
}
);
ListenerService.requestData(this);
wakeLock.acquire(50);
}
@ -639,7 +637,7 @@ public abstract class BaseWatchFace extends WatchFace implements SharedPreferen
chart.setViewportCalculationEnabled(true);
chart.setMaximumViewport(chart.getMaximumViewport());
} else {
ListenerService.requestData(this);
//ListenerService.requestData(this);
}
}