Modify home button behaviour for lock screens in android
<p>I am developing a Lock Screen App in android studio. I know we can not disable HOME button. But there are so many lock screen applications on play store. How are they doing it? When I press home button in those apps nothing happens. Type keyguard is deprecated and also keylocker. Please, tell me how can I make home button to do nothing or to be on the same screen. Now, I don't want to make it as Home Screen because it gives user a choice to select between home screens and I am developing a Lock Screen App so if this is the only solution then tell me how to make my screen as home screen programmatically. Please, give the right answer.</p>