Android - Is It possible to disable the long click of home button to avoid the task manager? Android - Is It possible to disable the long click of home button to avoid the task manager? android android

Android - Is It possible to disable the long click of home button to avoid the task manager?


To avoid the recent app dialog on the long click home button, you can listen on focus of your activity. When your activity is loosing focus, fire an Intent.ACTION_CLOSE_SYSTEM_DIALOGS intent.

Sample code here: http://www.juliencavandoli.com/how-to-disable-recent-apps-dialog-on-long-press-home-button/

I hope this will help you :)