Stop notification listener when all logging is disabled

This commit is contained in:
ajp_anton
2026-07-23 14:02:58 +00:00
parent 6ce7d65409
commit 50aebbd42b
5 changed files with 75 additions and 1 deletions
+9
View File
@@ -24,6 +24,15 @@ The app declares `QUERY_ALL_PACKAGES` solely to implement the settings pages'
restricted package-visibility policy and provide the required declaration; a
future distribution variant may need a narrower app-selection flow.
## Background behavior
Android owns the notification-listener connection; this app has no polling,
scheduled job, alarm, or boot receiver. When one or more logging types are
enabled and notification access has been granted, Android binds the listener
again after device boot. When every logging type is disabled, the app disables
that listener component: it has no background service and does not start at
boot. Re-enabling any logging type re-enables and asks Android to rebind it.
## Notification update policy
Each platform notification key is tracked independently. Group summaries are