input: Add workaround for broken hardware keyboard support

* Add workaround var for devices with broken kernels

Change-Id: Ib6ade70f399067469ba5aece48c6ec4608125d75

Conflicts:
	services/java/com/android/server/wm/WindowManagerService.java

Conflicts:
	core/res/res/values/config.xml
	core/res/res/values/public.xml

Signed-off-by: DHOMD <DHO@dho.im>
frameworks/base: support devices with SoftAp that don't require firmware reload

Partial forward port from ICS.
Original Change-Id: If2db6e8ce675c3214ce645231c7a354f41ea0cc6

Cange-Id: Iacb2498ec0f567a0a7c4e0dbf9127b70f09223bd

Conflicts:

	core/res/res/values/public.xml
	services/java/com/android/server/NetworkManagementService.java

Change-Id: I91e921bc10942743ad84e07b63097cc25ef99138
Signed-off-by: DHOMD <DHO@dho.im>