In Android 14, users are able to dismiss notifications that apps have set as "ongoing". This feature is not appreciated by everyone, though.
KeepOngoing is an Xposed module that aims to restore the old non-dismissable notification behaviour found in Android 13 and earlier.
TL;DR: KeepOngoing requires android-14.0.0_r15
or older.
On a Pixel, this equates to a security patch level of November 2023. Other OEMs are not so quick to update their Android revisions, though: My Motorola Edge 30 Pro with the August 2024 security patch is still based on a compatible version.
If you are unsure, you can try this module without concern; it is designed to fail gracefully.
The reason for this limitation is that Google kept the old behaviour behind a flag when they first introduced the change that was only removed five months later. This module simply disables that flag.
It is certainly possible to restore the older behaviour on newer revisions of Android, but doing so would require reimplementing the removed logic in this module. As my current device does not require this, I do not have the motivation to implement it. PRs are welcome.
This module has been tested with LSposed_mod.
- Install the app
- Enable the Xposed module
- Restart SystemUI (or reboot if your Xposed implementation requires it)