Not able to unlock screen in android
<p>I am able to lock a screen in android using Device policy manager. It will lock a screen even when the user is in other applications(Globaly). Same thing i want to do with Unlock. My application unlocks a screen when user locks a screen within my application. But when user locks a screen with other application it is not unlocking screen. </p>

<p>I am using proximity sensor to Lock/Unlock screen and registering ProximitySensorEventListener in onPause method for Unlock. It will unlock a screen only within my app.How to do a screen should unlock a screen with any other application (Globaly) ?? plz help me on this issue.</p>

<p>Thanks in advance.</p>
