Disable Screen Lock on Android JB 4.2.2 (sama5d31-ek) board

This forum is for users of Atmel's SAM Series and who are interested in using Android.

Moderator: nferre

mahengunawardena
Posts: 35
Joined: Sun Jul 21, 2013 12:55 pm

Disable Screen Lock on Android JB 4.2.2 (sama5d31-ek) board

Fri Nov 15, 2013 12:44 am

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 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 or an alternate solution?

Thank you in advance
Embest
Contact:
Location: Shenzhen, China
Posts: 62
Joined: Tue Jun 08, 2004 3:29 am

Re: Disable Screen Lock on Android JB 4.2.2 (sama5d31-ek) bo

Tue Dec 10, 2013 8:33 am

You can config it in: frameworks/base/packages/SettingsProvider/res/values/defaults.xml
by setting: <bool name="def_lockscreen_disabled">true</bool>
compile and make the image

Return to “ANDROID”

Who is online

Users browsing this forum: No registered users and 1 guest