Revert "remove button timeout support from frameworks/base"

This reverts commit 28b710d929806bdf43568f04ddf40af8a0ef06c6.