I am building a lock screen app for Android. At present I am able to implement the locking functionality using Device Admin API. But the problem is that if I lock the device