Guides‎ > ‎

Better Keyguard Disabling on ICS

posted Mar 23, 2012, 11:03 AM by Corey Z   [ updated Apr 12, 2012, 10:40 AM ]

The objective of this guide is to be able to use Secure Settings to set a password/pin/pattern and when disabled, the power button will unlock you right to your desktop.

For this to work, you have to do the following:

Go to the Settings app
Set the lock type to "None"
If you want Secure Settings to set a password or pin, create or update the task you have currently to enable or disable the keyguard to perform these actions instead.
For example, have a task to enable your password when you leave your Wi-Fi network and disable it when you return.
However, if you are rooted and have the Helper installed, you can have Secure Settings enable and disable the pattern lock. If this is what you want, you can create a task to set the pattern instead.

If you are using the password or pin, you're done at this point. If you want to use a pattern, you'll have to set it after changing the lock type to "None".

Ultimately, by setting the lock type to "None", then setting your password as usual, this sets what your device should return to when the lock screen is disabled. You will now be able to hit the power button and go straight to the desktop instead of having the slide lock. Then when your device is locked again, you will be presented with the usual lock screen.