Check if screen lock is set - stopped working

143 views
Skip to first unread message

​ ​man

unread,
Feb 24, 2024, 4:46:51 AM2/24/24
to Automate for Android
(Samsung Galaxy S22, Android 14, no root) 
I've set a quick tile whose status indicates if there's any screen lock set, and clicking it opens proper phone Settings page allowing me to set/unset a screen lock. It stopped working, probably after an OS update.

I used "content://settings/global/require_password_to_decrypt" which had one of two values (0,1).
But now (I checked it using "Settings finder" flow from Community) changing screen lock in phone Settings only affects content://settings/secure/ppp_enroll_timestamp (it is really only a timestamp, incl. milliseconds, no value). 

Has anyone had similar issue? Where can I seek any clues? 

Henrik "The Developer" Lindqvist

unread,
Feb 24, 2024, 5:16:09 AM2/24/24
to Automate for Android
It seems the official setting for secure lock screen might be "lock_pattern_autolock", but it's long since deprecated, see: 

I'll consider adding a custom block for it, see:

​ ​man

unread,
Feb 25, 2024, 3:01:38 AM2/25/24
to Automate for Android
It would be lovely! <3
Querying the content://settings/secure/lock_pattern_autolock returns null, indeed. 

​ ​man

unread,
Jul 21, 2024, 9:09:03 AM7/21/24
to Automate for Android
Hi! Any news on that? :) 

Henrik "The Developer" Lindqvist

unread,
Jul 21, 2024, 3:02:20 PM7/21/24
to Automate for Android
Not yet, i'll prioritize it.
Reply all
Reply to author
Forward
0 new messages