This project is a tool to snooze the "App is Running in the Background" notifications on Android Oreo.
Looking at the source code in AOSP, the updateForegroundApps() in ActiveServices, As long as many apps are not on top and not system apps, App developers can do nothing to remove this notification.
But we can use a NotificationListenerService to snooze this notification for a long time.
I haven't find a way to un-snooze the notify yet, uninstall it didn't work. And i'm working on it. If you have any idea please open a new issue.
So, you maybe will never see this notification again.
- Download and Install apk from here. (Will publish to Google Play soon)
- Run the app and grant Notification Access permission in system settings.
- Start the service and manually snooze the "Running in the background" notification for the first time, the app will keep it snoozed afterwards.