Consider repopulating the notification every 15 minutes
Beginning with API 34 (Android 14) it is no longer possible to make the notification ongoing (cannot be dismissed). As such, it is easy to accidentally dismiss it.
The notification will automatically be repopulated when the cell security changes. But perhaps it might be helpful to automatically repopulate it every 15 minutes (the MIN_PERIODIC_INTERVAL_MILLIS) if it has been dismissed.
This could probably be accomplished by creating a new worker that fires every 15 minutes and broadcasts a private intent that triggers
RealtimeMonitoringService.populateNotification(), which could be modified to check to see if no notification is currently displayed with
Updated by Soren Stoutner about 1 month ago
- Status changed from New to Closed