Merge branch 'dev' of https://github.com/MilosKozak/AndroidAPS into dev
This commit is contained in:
commit
9152a063a4
|
@ -41,7 +41,7 @@ class StatuslightHandler {
|
|||
R.string.key_statuslights_bat_warning, 22.0,
|
||||
batteryView, "BAT", batteryLevel);
|
||||
} else {
|
||||
applyStatuslight("bage", CareportalEvent.PUMPBATTERYCHANGE, batteryView, "BAT", 504, 240);
|
||||
applyStatuslight("bage", CareportalEvent.PUMPBATTERYCHANGE, batteryView, "BAT", 224, 336);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -116,12 +116,12 @@ class StatuslightHandler {
|
|||
batteryView, "BAT ", pump.getBatteryLevel());
|
||||
} else {
|
||||
handleAge("bage", CareportalEvent.PUMPBATTERYCHANGE, batteryView, "BAT ",
|
||||
336, 240);
|
||||
224, 336);
|
||||
}
|
||||
}
|
||||
|
||||
void handleAge(String nsSettingPlugin, String eventName, TextView view, String text,
|
||||
int defaultUrgentThreshold, int defaultWarnThreshold) {
|
||||
int defaultWarnThreshold, int defaultUrgentThreshold) {
|
||||
NSSettingsStatus nsSettings = new NSSettingsStatus().getInstance();
|
||||
|
||||
if (view != null) {
|
||||
|
|
Loading…
Reference in a new issue