简体   繁体   中英

In Android how do I prevent the user from holding the home button to display recently launched apps?

In Android how do I prevent the user from holding the home button to display recently launched apps?

I'm assuming I need to override the onKeyDown method or have an intent filter in the Android Manifest?

This is a duplicate of Home button disable

These two questions achieved what I needed:

Home button disable

I had to do this as well Disable Lock Screen

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM