Merge pull request #8222 from osmandapp/Widget_for_Tracker_in_OsmAnd
fix widget status (with enabled monitoring)
This commit is contained in:
commit
c7249b39a9
1 changed files with 2 additions and 0 deletions
|
@ -245,6 +245,8 @@ class TelegramService : Service(), LocationListener, TelegramIncomingMessagesLis
|
|||
oldestTime = -1
|
||||
}
|
||||
app().showLocationHelper.addOrUpdateStatusWidget(oldestTime, isSending)
|
||||
} else {
|
||||
app().showLocationHelper.addOrUpdateStatusWidget(-1, false)
|
||||
}
|
||||
startWidgetUpdates()
|
||||
}, UPDATE_WIDGET_INTERVAL_MS)
|
||||
|
|
Loading…
Reference in a new issue