プッシュ通知を受け取った後の受信処理のバグ修正

This commit is contained in:
tateisu 2022-06-14 02:29:30 +09:00
parent cbf91a8c0d
commit 14edce501a
1 changed files with 1 additions and 1 deletions

View File

@ -82,9 +82,9 @@ class ForegroundPollingService : Service() {
map.values
.filter { it.lastRequired > it.lastHandled }
.minByOrNull { it.lastRequired }
?.also { it.lastHandled = it.lastRequired }
}
if (target != null) {
target.lastHandled = target.lastRequired
check(target.accountDbId)
stopSelf(target.lastStartId)
}