Why does this work? Keyguard issue

Post your questions and help other users.

Moderator: Martin

Post Reply
Econdoc
Posts: 153
Joined: 28 May 2016 20:06

Why does this work? Keyguard issue

Post by Econdoc » 31 Oct 2018 11:53

I have a very simple flow that works...much to my surprise!
The purpose of the flow is to bypass the swipe keyguard screen. The phone is not locked.

Here is my flow:
Trigger: Display State On
Action: Set KeyGuard State On
Action: Dismiss Slide to Unlock Keyguard

It does not make sense to me why setting the KeyGuard ON works. Shouldn't the Keyguard be off? as in not on the screen?

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: Why does this work? Keyguard issue

Post by Desmanto » 31 Oct 2018 18:26

Set Keyguard State doesn't work at my phone already. I have to use Set Lock Pattern State off. If you don't set lock pattern, action Set Keyguard State on should have no effect, as there is no lock/security engaged. Try to remove that action and leaving only Dismiss one. Check if it is still working.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

Econdoc
Posts: 153
Joined: 28 May 2016 20:06

Re: Why does this work? Keyguard issue

Post by Econdoc » 02 Nov 2018 00:25

As usual, you were absolutely correct! Dismiss Works without any keyGuard action.

Post Reply