https://github.com/hacker1024/keepongoing
An Xposed module to restore the non-dismissable notification behaviour from in Android 13 and earlier
https://github.com/hacker1024/keepongoing
android-14 android-systemui xposed xposed-module
Last synced: 16 days ago
JSON representation
An Xposed module to restore the non-dismissable notification behaviour from in Android 13 and earlier
- Host: GitHub
- URL: https://github.com/hacker1024/keepongoing
- Owner: hacker1024
- License: gpl-3.0
- Created: 2024-10-29T07:40:23.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2024-10-29T07:47:07.000Z (9 months ago)
- Last Synced: 2025-06-26T05:13:14.638Z (17 days ago)
- Topics: android-14, android-systemui, xposed, xposed-module
- Language: Java
- Homepage:
- Size: 78.1 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# KeepOngoing
In Android 14, [users are able to dismiss notifications that apps have set as "ongoing"](https://developer.android.com/about/versions/14/behavior-changes-all#non-dismissable-notifications).
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.## Compatibility
### Android
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](https://android.googlesource.com/platform/frameworks/base/+/6afb4824218b721f190e250b3c343380d2637ff6)
that was only [removed five months later](https://android.googlesource.com/platform/frameworks/base/+/9f63d6746f1f124a1a7da2e67a8a359d72401d7b).
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.### Xposed
This module has been tested with [LSposed_mod](https://github.com/mywalkb/LSPosed_mod).
## Installation
1. Install the app
2. Enable the Xposed module
3. Restart SystemUI (or reboot if your Xposed implementation requires it)