Page 1 of 1

Trigger on Lock Screen

Posted: 28 Feb 2016 15:11
by harryzac
Hi,

Love the app!

Would love to be able to perform notification actions from the lock screen without having to unlock my phone to run a flow.

Is this possible?

Thanks! :)

Re: Trigger on Lock Screen

Posted: 28 Feb 2016 16:39
by Martin
Hi,

Thanks, I'm glad you like the app!

I'll add it to the todo-list to check if such actions are feasible.
Alternatively you could create a clickable overlay widget and display this widget on the lock screen (see menu->Custom Widgets and action Show Custom Widget Overlay. Show in a flow with trigger Display State: Off, hide with trigger User Present).

Regards,
Martin

Re: Trigger on Lock Screen

Posted: 03 Mar 2016 05:35
by bogdyro
Hi Martin. Is there a way to detect if the phone is active without first bypassing the lockscreen? I need to display some overlays only on the lockscreen and the phone doesn't get locked always (when I press a button earlier than 5 seconds for example)
I tried to detect the topmost window by using dumpsys window windows | grep -E 'mCurrentFocus|mFocusedApp' but it always shows me that automagic is the current focused app. Works for every other app,just not the lockscreen. Any solutions?
Thanks

Re: Trigger on Lock Screen

Posted: 03 Mar 2016 20:00
by Martin
Hi,

You could use condition Keyguard Locked when the screen is turned on to see if the lockscreen is active.

Regards,
Martin