Add back support for hardware keys

Conflicts:
	overlay/frameworks/base/core/res/res/values/config.xml