RIL: qcom: Stop the card handler thread when radio is off

Ensure the SIM is reinitialized when the radio is turned on, to
prevent state mismatches from dirty variables.
Fixes occasional crashes while entering/leaving airplane mode.

Change-Id: Ib8ca81eee00fd4a983f63190f51f5f27fd0947b6
LGEQualcommUiccRIL: Fix LTE support

Change-Id: Ifab51550113926d6d1b6c421e805f456d95faca8
LGEQualcommUiccRIL: Fix LTE signal strength

The RSRP sign is wrong, results in always-excellent network indication. Fix
it.

Change-Id: I3ad40eabca88babf41ad89903648e76f6d8c0830
GCC 4.7 now correctly implements the two-phase name lookup rules

See: http://gcc.gnu.org/gcc-4.7/changes.html

Change-Id: Iaf285e2ebf4456a063817858ffa358e9380e9012
Merge remote-tracking branch 'cyanogen_ics/ics' into ics
Profiles: add sync and mobile data override (1/2)

Change-Id: I93fe2af38b3fe49c1aa555cf5f27c366fd38ab91
WebSettings: Add ro.cm.version to default user agent.

Change-Id: Ic14a1626ab7bec26297e2041bdcfb26ca7b3a440
Merge "GCC 4.7 now correctly implements the two-phase name lookup rules" into ics
Merge remote-tracking branch 'cyanogen_ics/ics' into ics
Merge "SystemUI: Fix data activity overlay not being removed when data is disabled" into ics
Added support for a fourth audio device - dock

Adding persistant setting to choose to use usb audio

Change-Id: I3860c04c8f14e8e98d79d82a354a92b78565c3d1
Merge "Audio: Organize, include only newer ringtones" into ics
Merge "Profiles: add sync and mobile data override (1/2)" into ics
Make the volume overlay more functional 1/2

This Patch is to add new Volume Overlay Styles

 * Make the Icon on left touchable to go to Sound Menu
 * Always show the Phone Ring volume in expanded (for devices that have phone)
 * Always show the Alarm volume in expanded mode
 * Put an Option in Sound menu to choose a Style (see 2/2 patch)
    - Single : as default
    - Expandable : Enable the more link to expand all choosen volumes
    - Expanded : Show all volumes
    - Off : show no overlay
 * Fix a BUG that when you linked the volumes you got 2 phone icons
 * Fix a BUG when linked all volumes did not move when using hard buttons
 * Fix a BUG when you drag when linked, other expanded did not move
 * Added a default mode so non-telephone devices get Expandable by default

Note : When you are using BT in phone call
or the phone normally there is an extra expanded volume

Change-Id: Ie716e55ba6d4e89a1a67c59b9934d4e088833c5b
Merge remote-tracking branch 'cyanogen_ics/ics' into ics
Revert "Add customized parameters for qcom camera features."

This reverts commit 273bce7ab42d08f905b47d26be5cdae0b77c47b6.

Conflicts:

	libs/camera/CameraParameters.cpp
fix revert
fix weird bug (exif) by weird fix :D
Sensor: Add RotationVectorSensor2

Some ICS apps (namely, Google Maps) expects a rotation vector to be
available. Newer devices, this is provided by either Android's
sensor fusion (requires Gyro) or by hardware sensor fusion (MPL).

Older devices will lack this virtual sensor and compass in Google
Maps will not work. To fix this, we can provide our own rotation
vector sensor by converting the values from the orientation sensor.
(They are basically the same information in different formats.)

Thanks to Unhelpful for the help with related math.

Change-Id: I596f5dc44f8797bc280ae5d1e110bb92387c79d1
audioflinger: Optimze ditherAndClamp with ARM NEON

Change-Id: Ifc436e39f15b103cec404e8a81fa8b8a6b5f0e5f