Make notifications non removable to not accidentally dismiss them (by swiping it left, right or clear them all)
Check the notifications for the app Habits https://play.google.com/store/apps/details?id=org.isoron.uhabits
When that app shows a notification, you can't dismiss them by swiping left or right, and not even when your clear all notification (clear all).
To close on of those notifications, you must confirm with any attached button or action that the notification has inside it.
That way, you just can't accidentally dismiss the notification even if you hit your clear all button in the notification area.
For those who want a classic Android notification (not the large one) this could be really useful to avoid accidental dismissal of the notification and then forgetting to take a medication at all that day.
Even as an option would be appreciated.
Please.