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
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
Merge "Smooth Spinners: Makes the loading "spinner" animation smoother in non-holo apps" into jellybean
Changed USB connected icon to feature Cid

Changed the green USB connected Android to blue Cid
and the orange USB mounted Android to orange Cid
Cid has a USB drive hand like the Androids as well

Change-Id: I57386c2d555723adad99cafe8ae6d2e8f6fe8cbd
Changed USB connected page icon to USB logo

Changed the red "Beandroid" on the USB connected page to
a white USB icon.

Change-Id: Iee4c58769369e6dbe8d131eb4a2d9bee49d1e99b
Option to enable gfx effects (2/2)

Allow devices that do not meet ActivityManager.isHighEndGfx(display)
to enable graphic effects such as (in this case) the screen dimming
effect behind an expanded notification panel.

Patch 2: Rebase
Patch 3: Moved observe() before start() so preference boolean is
         set before gfx conditionals are evaluated.
         Still requires restart or reboot for full effect.
Patch 4: Consider high end gfx settings in recents panel

Change-Id: I7f94a00ef3260b66d6d715adbd1b11961ec32ee3

Conflicts:

	core/java/android/provider/Settings.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
Clock right or center

Allow clock to be placed either on the right or in the center

Conflicts:

	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/policy/Clock.java

Thanks to DerTeufel for help with solving all compile issues

Change-Id: If682ae8561e21b771794b06df436be1838c61549
Monitor device storage directly in /data/data

Original change here: http://review.cyanogenmod.org/#/c/9431/

Monitor device storage directly in /data/data.  This could be useful
still on older supported devices.

Change-Id: I121bc05a3938d45b87317c899f79d227f0d07cf7
Navigation Bar: Ability to enable on every device 1/2

This adds a new Menu item Settings -> System -> Navigation Bar

Patch Set 5 : Just a rebase
Patch Set 6: Rebase
Patch Set 8: Rebase
Patch Set 9: Rebase

Change-Id: I23a508fa3268e63fbbc9a8305d011db3ca7722a0