Question

OS: Android JB 4.2.2.

The application that I am working on doesn't have a touch screen (This is not a handheld Mobile Application). Therefore I want to change screen lock to NONE (Settings > Security > Screen Security > Screen lock). Essentially disable the screen lock.

I find that most the setting are stored in com.android.provider.settings/database directory in settings.db

Can anyone shed some light on were the Settings > Security > Screen Security > Screen lock variable might be stored?

Thank you in advance

Was it helpful?

Solution

adb shell sqlite3 /data/system/locksettings.db "update locksettings set value='1' where name='lockscreen.disabled';"

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top