seaky / nspanel_pro_tools_apk

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature Request: Activate/Dismiss Screen Saver on Proximity Trigger instead of Sleep/Wake

kev007 opened this issue · comments

I found a cool clock app that the native screen saver function activates on the display timeout, but unfortunately, the proximity wake trigger does not dismiss the screen saver. I assume this is because the device counts as awake when displaying the screen saver.

Could you please add a toggle to swap out the sleep/wake actions with activate/dismiss screen saver actions?

Could you share the screensaver app name?

I have to check how it is implemented!

Generelly the screensavers overrides the native sleep/awake activities and holds the wakelock. Means being placed a window top of everything by screensaver responsible for dismiss it after touch. Thus not as easy as it looks to dismiss the screensaver.

I've done a quick check but it looks like the onDreaming state is only reported to that service who is selected as the current ScreenSaver... so it needs more investigaton

I found a very easy way so I'll try to implement it when I finished the v2.1

Nice. Thanks!