fix widget status (with enabled monitoring)
This commit is contained in:
parent
f0c436c71f
commit
88b89085e6
1 changed files with 3 additions and 1 deletions
|
@ -245,7 +245,9 @@ class TelegramService : Service(), LocationListener, TelegramIncomingMessagesLis
|
||||||
oldestTime = -1
|
oldestTime = -1
|
||||||
}
|
}
|
||||||
app().showLocationHelper.addOrUpdateStatusWidget(oldestTime, isSending)
|
app().showLocationHelper.addOrUpdateStatusWidget(oldestTime, isSending)
|
||||||
}
|
} else {
|
||||||
|
app().showLocationHelper.addOrUpdateStatusWidget(-1, false)
|
||||||
|
}
|
||||||
startWidgetUpdates()
|
startWidgetUpdates()
|
||||||
}, UPDATE_WIDGET_INTERVAL_MS)
|
}, UPDATE_WIDGET_INTERVAL_MS)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue