telephony: update Sony RIL

* use QualcommSharedRIL responseIccCardStatus, skipping pin/puk count as Sony do not
  have it
* WA: skip getCdmaSubscriptionSource we do not have any CDMA phone and is causing some
  issue (need to figure why is called on gsm phone)
* QualcommSharedRIL use RILConstants when possible

Change-Id: I6323e4600d76f32d81e78331ca86b4cf358cbd4f
libaudioeffect_jni: GREF leak fix for JB

- Excessive JNI global reference in AudioEffects.
- Global references created during native setup
  are not deleted.
- Global references are deleted in setup failure
  and during native release.

Change-Id: I302b7f8de7189f85fd07167b950f85795ffc5ef1
CRs-fixed: 413633
Added Synchronization block to avoid Race condition

While removing the top activities of crashed process from the
history stack sometimes it was leading to race condition and decrementing
history stack index twice. because of this index out of bound issue was coming

Change-Id: I2a5667d36aaa7c3b7adac347db6c9bc7429d9444
CRs-fixed: 381904
framework: fix reference leak in activiy manager

Change-Id: If7f27ea35f5a1d1dd7c98fbe5f92729ab9ba0257
Framework-res: remove build warning

fixes:
'gsm_alphabet_default_charset' has no default translation

Change-Id: I9043f86f8d3782c0d2ac869351482282355118b1
Revert "Add simple caching to XML compilation"

This reverts commit 2e39691d11a6559950f05ef8220c57909840675b.
Cache resource ID lookups in aapt

This speeds up certain workloads considerably, particularly
those involved in buildling apps via the SDK.  Windows-based
use should particularly benefit from the change.

Change-Id: I29f4b3a77400b201ee219729cc28a5e359c0c5e8
Smooth Spinners: Makes the loading "spinner" animation smoother in non-holo apps

The loading "spinner" animation is quite jerky by default when the progress xml's from 
drawable are called in applications that don't use the holo progress animation. The holo 
"spinner" animation is already smooth by default. This makes every other "spinner" 
animation smooth.

We've been changing this value in all ROM's we release, both AOSP and CM based ones
as well as stock ROM's, since it gives a more polished look to the entire system. In the past 
3 years we've been using this small tweak we have not noticed anything that would 
adversely affect battery life or system operations as a whole.

Signed-off-by: Sar Castillo <sar.castillo@gmail.com>
Merge "libaudioeffect_jni: GREF leak fix for JB" into jellybean
Merge "Added Synchronization block to avoid Race condition" into jellybean
Merge "framework: fix reference leak in activiy manager" into jellybean
Longpress hardware key actions in PasswordUnlockScreen

Change-Id: I8e2cf5d839e907344e83c29846bbcb59dfbeabca
Merge "Framework-res: remove build warning" into jellybean
camera: add power mode support

Based on commit 7036d66bec7697160ba1b2e255f1e7fae0c8c435 from CAF,
branch ics_chocolate.

Change-Id: I8a60668b18980fd5e6f9dd341db5a8a63deb99d0
Merge "telephony: update Sony RIL" into jellybean
Improve scan time for some cases

When the path being matched has a sqlite wildcard character in it, a "like"
match will be quite slow. Unfortunately this is fairly common, since "_"
is a wildcard character. However, because in most cases the case of the path
in the database will match the case on disk, an "=" match will work, so it
is worthwhile to try an "=" match first, before trying a "like".

If there are no wildcard characters, the "like" will be as fast as the "=",
because of the case-insensitive index on the _data column, so there is no
need to try "=" first in that case.

b/6751354

Change-Id: I1cd4efbd56a37886cb44a86acb73eb9a3c9f303d
Merge "Smooth Spinners: Makes the loading "spinner" animation smoother in non-holo apps" into jellybean
WiredAccessoryObserver: Headset detection for sony msm7x27a

Sony's headset driver uses the nonstandard headset_sensor switch
while other drivers (eg power button driver) still use the h2w
switch, so simply renaming back to h2w is not simple. This looks
for the headset_sensor switch, and if it's not present falls
back to the standard h2w switch.

Change-Id: Ibfd39edf80e2e3a2f4c084960908d1e24808df54
Merge "Improve scan time for some cases" into jellybean
Merge "WiredAccessoryObserver: Headset detection for sony msm7x27a" into jellybean