Google’s “Play Store” has a “Screen Filter” application that is designed to cover the entire screen with a few translucent inks so that the screen is dimmer than the minimum brightness.
He does this using the Display System-Level Alerts permission.
Where is the documentation that allows me to do this in my application?
Can this “system-level alert” intercept touch events? This means that I can get my application to take Android, which should stay in our building .
I like this approach because it does not allow you to turn off the phone before it is turned over (which will cause an alarm), unless, of course, the hammer is involved.
source share