retrieve device status with xdrip too
This commit is contained in:
parent
af31ca804f
commit
744a4143f4
1 changed files with 17 additions and 19 deletions
|
@ -199,7 +199,6 @@ public class DataService extends IntentService {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (intent.getAction().equals(Intents.ACTION_NEW_DEVICESTATUS)) {
|
if (intent.getAction().equals(Intents.ACTION_NEW_DEVICESTATUS)) {
|
||||||
if (nsClientEnabled) {
|
|
||||||
try {
|
try {
|
||||||
if (bundles.containsKey("devicestatus")) {
|
if (bundles.containsKey("devicestatus")) {
|
||||||
String devicestatusesstring = bundles.getString("devicestatus");
|
String devicestatusesstring = bundles.getString("devicestatus");
|
||||||
|
@ -226,7 +225,6 @@ public class DataService extends IntentService {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
// Handle profile
|
// Handle profile
|
||||||
if (intent.getAction().equals(Intents.ACTION_NEW_PROFILE)) {
|
if (intent.getAction().equals(Intents.ACTION_NEW_PROFILE)) {
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in a new issue