I recently downloaded the ACDisplay lock screen app:
The application shows an overlay on my device while also at the same time detecting
home button click on the
activity so that i can't bypass the lock screen. It is also somehow able to completely hide the
recent button on a non-rooted device. How is that possible?
I have went through the following links:
and all of the solutions used to work for older versions of
Android OR they say that the
home button click cannot be detected since it can be used by malicious apps.
How is this application able to do so?
Can someone share sample code/app on how to prevent the user exiting the lock screen app until they have successfully authenticated themselves?