Sunday, 1 September 2013

how to lock device but prevent the screen to be turned off in android?

how to lock device but prevent the screen to be turned off in android?

I'm using DevicePolicyManager to lock the device while needed. what I want
is to bring up the lock screen but using DevicePolicyManager and calling
it's method lockNow() will lock the device and turn the screen off. how to
prevent turning off the screen?

No comments:

Post a Comment