Directly to the Home screen instead of the Lock screen when waking

81 views
Skip to first unread message

OaT

unread,
May 13, 2012, 12:42:47 AM5/13/12
to corners...@googlegroups.com
I've seen several reports on different CM9-based ROMs employing CS that when waking a tablet from a sleep, the device goes directly to the home screen as opposed to the lock screen.  With this behavior, the new CM9 lock screen shortcuts are completely missed.  Can anyone shed any light on this, including a possible fix?

Sanjay Jain

unread,
May 31, 2012, 3:24:36 AM5/31/12
to corners...@googlegroups.com
Hi,

During Cornerstone development, we had disabled keyguard for convenience as we had to run many tests.  If you want to enable keyguard, then go to WindowManagerService class and you can apply either of two solutions mentioned below.

1. In WindowManagerService() constructor method set enable keyguard to true.

        mPolicy.enableKeyguard(true);

2.  Just comment the below statement in WindowManagerService() constructor method.

       //mPolicy.enableKeyguard(true);

After you make the above changes, build the ICS + Cornerstone code and deploy the newly built ROM to your device.

I hope the above info answers your query.

Thank you,
Sanjay Jain

OaT

unread,
Jun 5, 2012, 4:23:41 PM6/5/12
to corners...@googlegroups.com
Thanks.
Reply all
Reply to author
Forward
0 new messages