Thanks for this, I can confirm that commenting out calls to showLocked( ) in KeyguardViewMediator.java still bypasses the lock screen in ICS.
On Tuesday, January 18, 2011 4:06:52 PM UTC, Deva R (TI) wrote: > > to boot without lock and stay unlocked.. > > deva@ubunt:/data/build/android_omap4/froyo/frameworks/policies/base$ git > diff > diff --git > a/phone/com/android/internal/policy/impl/KeyguardViewMediator.java > b/phone/com/android/internal/policy/impl/KeyguardViewMediator.java > index c255041..c602c1b 100644 > --- a/phone/com/android/internal/policy/impl/KeyguardViewMediator.java > +++ b/phone/com/android/internal/policy/impl/KeyguardViewMediator.java > @@ -553,7 +553,7 @@ public class KeyguardViewMediator implements > KeyguardViewCallback, > } > > if (DEBUG) Log.d(TAG, "doKeyguard: showing the lock screen"); > - showLocked(); > + //showLocked(); > } > } > > > note: if you press lock button, ui will still lockup. try commenting > all showLocked() calls. > > > On Tue, Jan 18, 2011 at 5:07 AM, Elvis Dowson <[email protected]> > wrote: > > Hi, > > I have an embedded device that is not a phone, and it needs to > > directly go to the home screen and launch an app directly, so that the > > system directly boots into the android application. > > > > I notice that on first boot, the screen lock feature is not activated. > > It is only on reboot that the screen gets locked by default. > > > > How can I permanently disable the screen lock feature? > > > > Elvis Dowson > > > > -- > > unsubscribe: [email protected] > > website: http://groups.google.com/group/android-porting > > > > -- > Regards, > Deva > www.bittoggler.com > > -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
