mirror of
https://github.com/Monkopedia/rouse-context.git
synced 2026-10-19 10:33:18 +00:00
Previously, when a security check (CT log or self-cert) crossed the warning threshold and posted an info/alert notification, a subsequent Verified or Skipped run reset the in-prefs streak counter but never cleared the notification from the shade. Users were left with stale warnings indicating an outage that had already recovered. Add SecurityCheckNotifier.cancel(check), implement in AndroidSecurityCheckNotifier by cancelling both the alert and info notification ids for the given check, and call it from SecurityCheckWorker's Verified and Skipped branches alongside prefs.resetWarningStreak(). NotificationManager.cancel is idempotent, so cancelling an absent id is a no-op. Closes #448 |
||
|---|---|---|
| .. | ||
| schemas/com.rousecontext.notifications.audit.AuditDatabase | ||
| screenshots | ||
| src | ||
| build.gradle.kts | ||