I was curious if a condition can be added to check the lock PIN/pattern/password state.
Is lock pin set? True or false
Lock pin/pattern/password Condition
Moderator: Martin
Re: Lock pin/pattern/password Condition
There is a condition "Keyguard with Security" exists.
The condition Keyguard with Security checks whether a keyguard/lockscreen with a security element (PIN, password, ...) or not (None, Swipe) is set.
The condition Keyguard with Security checks whether a keyguard/lockscreen with a security element (PIN, password, ...) or not (None, Swipe) is set.
Re: Lock pin/pattern/password Condition
Perfect, I'll check that out.
Re: Lock pin/pattern/password Condition
To add up. This only check if the security is there, but it doesn't tell you which security is on. To know the keyguard type, you have to use root and sqlite to the /data/system/lockscreen.db, find the corresponding value.
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.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Re: Lock pin/pattern/password Condition
Thank you for that extra info.
I may be able to get by with just knowing if lock is enabled or not.
I may be able to get by with just knowing if lock is enabled or not.