I am on a project in which I will use the android 4.4 version on a non-touch based display unit. Hence i want the screen lock to be "none" by default and this i need to make in the build. So is there any XML file or variable which i can modify so that by default the screen lock will be "none" instead of "slide"?
I did the following solution:
KeyguardManager km = (KeyguardManager) getSystemService(Activity.KEYGUARD_SERVICE);
KeyguardLock kl = km.newKeyguardLock(Activity.KEYGUARD_SERVICE);
kl.disableKeyguard();
in my launcher code.