"long press of home button" configuration
i searched a lot about this and didn't found an answer about this.
i'm using the LockerPro application as a lock screen but this means that the "long press of home button" can be still activated when i'm in the lockscreen.
in default Android phone the OS disable a lot of things when it is in lock screen mod for example the "long press of home button" that usually lead to
show the "history application" / "running application" list but this is disabled in lockscreen mode.
i'm assuming that if the OS is doing some API calls we can do the same or if the OS is registered in some policy we could do an application that will have the same policy that the lockscreen mod uses.
so, I wanted to know how the OS manage to do this and disable those so i could build an application on rooted phone that will do the same ?