retrieve device status with xdrip too

This commit is contained in:
Milos Kozak 2016-10-16 21:11:16 +02:00
parent af31ca804f
commit 744a4143f4

View file

@ -199,7 +199,6 @@ public class DataService extends IntentService {
}
}
if (intent.getAction().equals(Intents.ACTION_NEW_DEVICESTATUS)) {
if (nsClientEnabled) {
try {
if (bundles.containsKey("devicestatus")) {
String devicestatusesstring = bundles.getString("devicestatus");
@ -226,7 +225,6 @@ public class DataService extends IntentService {
e.printStackTrace();
}
}
}
// Handle profile
if (intent.getAction().equals(Intents.ACTION_NEW_PROFILE)) {
try {