pelya / screen-dimmer-pixel-filter

Android screen dimmer, which disables individual pixels, for AMOLED screens
BSD 3-Clause "New" or "Revised" License
57 stars 14 forks source link

Should disable itself for certain apps. #9

Open asciipip opened 7 years ago

asciipip commented 7 years ago

Some apps (most notably the system UI) will refuse to take certain actions if a screen overlay is active. Pixel Filter should be able to disable itself for such apps (preferably with a built in list of standard ones like System UI plus a user-configurable additional list).

pelya commented 7 years ago

Might not be possible, as Android Lollipop and newer disallows to retrieve a name of a foreground app, without some dirty tricks: http://stackoverflow.com/a/30778294/624766 Changing tap action from 'exit the filter' to 'pause the filter' will do this at least less painful.

On Mon, Jan 23, 2017 at 8:47 PM, Phil! Gold notifications@github.com wrote:

Some apps (most notably the system UI) will refuse to take certain actions if a screen overlay is active. Pixel Filter should be able to disable itself for such apps (preferably with a built in list of standard ones like System UI plus a user-configurable additional list).

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pelya/screen-dimmer-pixel-filter/issues/9, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJewBlw0RBD6t3U51DdQtn6u5WDTAxaks5rVPXPgaJpZM4LrZq2 .

asciipip commented 7 years ago

I'd be happy with that UI change as a workaround.