libstagefright: Remove assert failure for kKeyHfr

- Remove assert failure if kKeyHfr is not present in
  meta data.
- Assume normal mode recording if kKeyHfr is absent

Change-Id: I17e29c943cc8886df9e8976487c05aabc54c3129
(cherry picked from commit 9fb63299bf27bd30f8a0fab5b9c2777e4342f154)
stagefright: Fix camcorder effects on MSM8660.

 * Patch adapted from
   https://www.codeaurora.org/gitweb/quic/la/?p=platform/frameworks/base.git;a=commit;h=a686ca15dc27aeeeffa3a0039c2c546af7f6272f
 * We need to use buffers from the MM heap on the 8660 devices I am
   testing.

Change-Id: I1e31f2db521834a068e11d48e88547044b0c906f
think we need to use that

Change-Id: Iea747bf08acba8d8e9277412d5283e8a891833ef
Stagefright fix to support hardware video encoder for qsd8k

Change-Id: Ia71f67d7b583a3bb10ce2909d026dec801fc0ebb
Revert "Stagefright fix to support hardware video encoder for qsd8k"

This reverts commit eed965f1a471e2c84b3a417d9c7611cfdd0cbb98.
Revert "Remove 'Bypass Texture Creation' hack in frameworks"

This reverts commit 6135dca818b948c49b1274a483b2bc99f5d87864.
Revert "cleanup QCOM_HARDWARE defines in SurfaceTexture"

This reverts commit ab8f9e3c2b2b708e55791c51a480894890caad72.
Revert "Revert "cleanup QCOM_HARDWARE defines in SurfaceTexture""

This reverts commit 5f108c86eab3f0ffbaf5d455c7ec172158bb511f.
Revert "Revert "Remove 'Bypass Texture Creation' hack in frameworks""

This reverts commit d59c9b408f55b471cd1f1b28e6e6324502376964.
Revert "think we need to use that"

This reverts commit 0edaf6a342f83415ebe98e95219e4f46d44bb1f6.
Revert "stagefright: Fix camcorder effects on MSM8660."

This reverts commit 612acf0e8df144c6a0788f0ab32acc1952d97449.
Revert "libstagefright: Remove assert failure for kKeyHfr"

This reverts commit a87b3d23c6a4258dadede6c84bce230b2105701d.
libstagefright: Remove assert failure for kKeyHfr

- Remove assert failure if kKeyHfr is not present in
  meta data.
- Assume normal mode recording if kKeyHfr is absent

Change-Id: I17e29c943cc8886df9e8976487c05aabc54c3129
(cherry picked from commit 9fb63299bf27bd30f8a0fab5b9c2777e4342f154)
Vibrator/airplane overrides (1/2 Frameworks)

Add vibrator overrides for ringer and notification:
* enable
* disable
* only when silent

Add airplane mode overrides:
* enable
* disable

Patch Set 1:
initial patch

Patch Set 2:
remove airplane mode 'enable, leave nfc enabled'

Change-Id: I2efa3e5ef95574b04f872ed970090e507189be2b
Load a device specific key handler

Configurable via overlay settings config_deviceKeyHandlerLib and
config_deviceKeyHandlerClass.

Change-Id: Iec99d52f4a665e59cd13939af62f9b5b3becd375
InputManager: Add system setting to define keyboard locales

KEYLAYOUT_OVERRIDES expects a string of "devicename,layoutfile" to set
keyboard layout and character map to files in /system/usr/keylayout and
/system/user/keychars.

This overrides the default behaviour of opening files that match the
device's input name if it is unconfigured.

Change-Id: I35d07c6986db5a8b0744ff4c8649c2a34cc2fd14
Updated Hebrew Translation

Change-Id: I00315b8082426cdaf44c36bb55712318be991225
NavigationBar : Customization

Allows user to customize navigation bar.

Features :
- Choose from 1-6 # of buttons
- Re-arrange / assign buttons

Patchset 1  : Initial commit
Patchset 2  : Resize side drawables to avoid requestRelayout() [HACK]
Patchset 3  : Added extras to intent to explicity change state
Patchset 4  : New drawables (David Tonder)
              Fix button animation
Patchset 5  : Switch button layout to stock dimensions
              Adjust padding according to new layout
Patchset 6  : Change "Blank" to "Empty" where applicable
Patchset 7  : Lowercase key names (Will require a wipe of the database entry)
              Fix issue where during edit mode if screen turns off, layout gets distorted on restore
              Add "save" extra to intent to clarify whether to save the layout or not
Patchset 8  : Rebase for 4.0.4
Patchset 9  : Fix padding / lowLights
Patchset 10 : Minor fixes
Patchset 11 : Fix issue with losing edit mode after theme changes
	    : Fix whitespace issue
            : Fix low light gravity in landscape
            : Add regular menu button option (icons by DvTonder)
	    : Localize resources
            : Fix padding issue
Patchset 12 : Hide searchbutton like others on lockscreen
Patchset 13 : Fix lowLight padding
Patchset 14 : Code cleanup
Patchset 15 : Minor edit

Change-Id: If24a4413f99b8b4661ffd7ad9565c005fa22d7ba
Bugfix: reboot needed for dock audio checkbox 1/2

After the patch
http://review.cyanogenmod.com/#/c/15540/

The Dock audio is only observed if the checkbox is checked onBootComplete

This patch adds an extra Event for when the dock setting is changed,
this is picked up by the WiredObserver and either stops or starts listening to the dock.

Note that stopObserving() stops all observations so the other endpoints need re-observing.

Change-Id: Ifcb3e36f116688d0ccb7be15f1e7aa3d24e2981c
stagefright: Fix camcorder effects on MSM8660.

 * Patch adapted from
   https://www.codeaurora.org/gitweb/quic/la/?p=platform/frameworks/base.git;a=commit;h=a686ca15dc27aeeeffa3a0039c2c546af7f6272f
 * We need to use buffers from the MM heap on the 8660 devices I am
   testing.

Change-Id: I1e31f2db521834a068e11d48e88547044b0c906f