Android DevicePolicyManager locknow() not working in Lollipop

746 views Asked by At

I'm locking and unlocked the lock screen.

Unlocking via

boolean result = devicePolicyManager.resetPassword( "", 0 );

devicePolicyManager.lockNow();

In Lollipop, it turns the screen off (expected) and when you turn it on - instead of the swipe screen - it display the numeric keypad but you don't have to enter the correct PIN or a PIN to unlock -

This same code works in pre Lollipop by displaying the swipe screen once and then fully unlocked after that.

Is this a bug in Lollipop?

0

There are 0 answers