Actions
Feature #1105
closedConsider repopulating the notification every 15 minutes
Start date:
10/17/2023
Due date:
% Done:
0%
Estimated time:
Description
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 NotificationManager.getActiveNotifications()
.
Actions