SystemUI: Add missing sound permissions for screen recording

Change-Id: If948aabfd5c2e09f192f12aa02830d39346d2c6c

Conflicts:
	packages/SystemUI/AndroidManifest.xml
Frameworks: fix sdk build

ups....derp

Change-Id: I990ec0808b6aa264b4d92d6829484441e4c842e6
Enable half press focus button
Fix headset detection.

Original CM Commit below by Shelnutt2
Services.jar: Reworked computeNewHeadsetState function to
set state in a manor used in ics. This allows states such
as 129 and 130, which are used for 35MM_HEADSET to be
correctly registered as a new state.