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
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
Merge "Vibrator/airplane overrides (1/2 Frameworks)" into ics
Merge "Load a device specific key handler" into ics
Merge "InputManager: Add system setting to define keyboard locales" into ics
Merge "Updated Hebrew Translation" into ics
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
Merge "Bugfix: reboot needed for dock audio checkbox 1/2" into ics
Camera: Handle error event from HAL + burst mode code clean up.

(a)Error mapping is not proper so change the error type from UNKNOWN_ERROR
   to CAMERA_ERROR_UNKNOWN.

(b)Ccde clean up for burst mode.

Change-Id: I9ba351eba9526f0f274f52b12003b7ea0aae12be
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
Fix InputReader test

Change-Id: I91e985ccf5102c61dccfa34504e403aeb8288321