Disabling staledata alarm on new sgv values fromNSClient
This commit is contained in:
parent
eb593a4557
commit
723cb33497
1 changed files with 5 additions and 1 deletions
|
@ -632,6 +632,10 @@ public class NSClientService extends Service {
|
|||
if (sgv.getMills() > latestDateInReceivedData)
|
||||
latestDateInReceivedData = sgv.getMills();
|
||||
}
|
||||
//log.debug("Alarm for stale data active:"+Notification.isAlarmForStaleData());
|
||||
if(Notification.isAlarmForStaleData()){
|
||||
MainApp.bus().post(new EventDismissNotification(Notification.NSALARM));
|
||||
}
|
||||
BroadcastSgvs.handleNewSgv(sgvs, MainApp.instance().getApplicationContext(), isDelta);
|
||||
}
|
||||
MainApp.bus().post(new EventNSClientNewLog("LAST", DateUtil.dateAndTimeString(latestDateInReceivedData)));
|
||||
|
|
Loading…
Reference in a new issue