Giter Club home page Giter Club logo

notrunninginbg's Introduction

Not "Running in the background"

Get it on Google Play

This is a tool that snoozes the "App is Running in the Background" notifications on Android Oreo.

Judging by the relevent AOSP code (updateForegroundApps() in ActiveServices.java), there is no way for non-system app developers to suppress this notification when their apps are not on top.

However, NotificationListenerService can be used to snooze this notification for an extended period of time.

How to use

  1. Install from Google Play, or download and install the APK from here.
  2. Run the app and grant Notification Access permission in system settings.
  3. Start the service and manually snooze the "Running in the background" notification once. The app will keep it snoozed afterwards.

notrunninginbg's People

Contributors

lvwind avatar tommyang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

tommyang fossabot

notrunninginbg's Issues

Some questions for this

I have tried this and it worked well.

At first, I just clicked the start button in app but nothing happened. So I try to snooze the notification for 15 min and after 15 min the notification didn't appear. So is this the right way to use it?

If I want background app notification appear again, what should I do? Just uninstall it?

App is not work as intended

Device: Pixel, Android 8.0
Version: 0.3

  • Permission granted
  • Switch to Enable in main activity
  • Snooze the notification manually

The app does not snooze the notification as intended to.

Guessing reason:
Maybe cause by notification change, the number of app running in the background becomes 2 from 1, and cause some kind of ID changes, then this app can not snooze it in the next duration. (Not verified, just a hypothesis)

Maybe the app hasn't snooze any notification programmatically.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.