telephony: Consolidate Qualcomm RIL implementations

The RIL code for qualcomm devices was getting a bit messy (and
with a fair amount of duplicate code), so move all common code
to a new shared class, and keep only the minimum necessary
method overrides in the device-specific implementations

Change-Id: I50bf1f4efa30e637c825d9c5bf40ba3f2f130924
RIL: Qualcomm: Unbreak LTE

the mUSIM variable got badly scoped during the qcom telephony
refactoring, breaking LTE for LGE devices

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

Change-Id: I91e985ccf5102c61dccfa34504e403aeb8288321
add missing file for "Iec99d52f: Load a device specific key handler"

Change-Id: If4809725e8435e011c05642639f577f84cf0a8c5
This reverts two wrong patch sets fix attempts.

Trying to fix my stupid mistakes.
Reverted commits:

*) 5e2284869bc6b53d6de786d6b5846e9b79383f04:
   Fix InputReader test

*) 8f2303e5b3b2c1e40c52bfb4028a663e503d132e:
   add missing file for "Iec99d52f: Load a device specific key handler"

*) 2ee7ed47a844f168db074c95e4fc93e9745618c0:
   InputManager: Add system setting to define keyboard locales

*) cf02764d48eadacdb9114225e043835143c4ed07:
   Load a device specific key handler

Change-Id: Ibdaa8d52054c830a4e3659bf356cc2df71342eb3
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 there's no configuration file.
Dispatch keys to a device specific key handler

Injects a device key handler into the input path to handle additional
keys (as found on some docks with a hardware keyboard).

Configurable via overlay settings config_deviceKeyHandlerLib and
config_deviceKeyHandlerClass.