LibreShift / red-moon

Android screen filter app for night time phone use.
GNU General Public License v3.0
647 stars 81 forks source link

App monitoring whitelist #188

Closed smichel17 closed 6 years ago

smichel17 commented 6 years ago

Motivation

There are some apps that Red Moon should not run during. This obviously includes apps that are secured against overlays, but some users also would like it to include camera/gallery apps, etc.

Background

It's not feasible to maintain such a list for all known secured applications, although we currently try to. Further, some apps are only secured in certain activities, the list of which is definitely not feasible to maintain, so we have to make compromises, like #165. And of course, no list will fit everyone's preferences.

A dynamic, user-generated whitelist is the only reasonable solution to both issues. By default, the whitelist would include a complete list of secured activities that are shipped with all android installations, like the package installer -- a list small enough to maintain -- and users can add to their own whitelists.

Other Solutions

The traditional way would be to have a screen that shows all apps/activities on the device and lets the user select which ones to whitelist. However, I don't think it is a good experience. It forces them to leave the current app (that they want the filter to pause in), open Red Moon, find that app, and add it to the whitelist. Additionally, it's a fair amount of work to implement, so it would be a while until I could get around to it.

Proposal

smichel17 commented 6 years ago

Implemented in #193