Revert "Revert "remove button timeout support from frameworks/base""

This reverts commit 151da957c8c3f74500a6bf49b2b2cf4aa047722d.