views:

370

answers:

0

Hi,

In android 2.1, if we enable pattern lock, then the screen lock (slide to unlock) is not displayed and if pattern lock is disabled then screen lock is enabled again. Can someone point me out the java file in framework and the function where this happens. I mean when the screen is about to get locked, how does android decide that whether it will display pattern lock or screen lock and if pattern lock, how it prevents the screen lock from getting displayed.