fix for Samsung CDMA incoming SMS bug

ported from CM7/9/10

requires: http://review.cyanogenmod.org/#/c/26917/

Change-Id: I6189dd0c6aeffb0b8b530bab7994a07bb390c32c
Add Samsung STK support (telephony part)

Support for SMS-based SIM applications.
Partially rewritten the original patch by Jüri Schultz to be less intrusive.

Change-Id: I15d2de1781a2823e24941dd792db3d372578aa9f
Samsung STK: Add USSD support

Allow USSD-based STK applications to work

Change-Id: I483f37a44a6c3ed43eefcf979e17b84877d03f93
	RIL for Samsung v6 RIL CDMA devices, based on SamsungRIL.

Change-Id: Icaf256d55a22c94d47038e9b3ea640c24d093d72
patch responseSignalStrength

Change-Id: I4f2861e765d6b112b0351e89711025a7ea1f25e4
Samsung STK: Fix SMS-based STK

SEND_SMS was falling through to SEND_USSD (which used to do nothing
until USSD support was added) causing an Exception because cmdParams
is not an instance of SendUSSDParams.

Fix by using type-checking instead of checking if Samsung STK is
enabled (because SendSMSParams and SendUSSDParams will only be
created if Samsung STK is enabled.)

Change-Id: I671014e295e9e529aad25a8b6fbd5a2e5788fc44
Prevent NPE on some CDMA devices

When the remote caller disconnects, it caused a NPE which killed the phone app
and caused other side effects such as a 'Return to call' button on the lockscreen,
and possibly more.

Change-Id: Ibbb679bde52f84c2730749d16779b1b19ff88dd3
Fix ringing audio focus handling.

Test case:
- enable increasing ringtone starting at volume 0
- start any music player
- get an incoming call

Previous behaviour:
When ringtone volume is increased from 0 to 1, music continues playing
even
though ring tone is playing as well.

New behaviour:
When ringtone starts, music is attenuated to make user aware of incoming
call. When ringtone volume is increased to 1, music stops playing.

Change-Id: Ifc32ea162d4527572be0574024116d10ee9bca66
Fixed FC on calling unregisterReceiver with non registered receiver arg.

Crash Log: http://pastebin.com/r0qSGvbb

Patchset 1: Fixed a tab.

Patchset 2: Fixed spacing.

Change-Id: Idd3a7d28d62a980e5d8841535b0c9b57ea6e6a01
Telephony: Unregister from UiccController when disposed

Change-Id: I296d3f292a72d2f8181f866bd1de7637c8333c63
Make ringing audio focus handling work with 'Speed up audio on MT call'
flag enabled.

Change-Id: I53c26afdbf95d4cc13c7b39d7dcb21d15bbe9a2c
Fix restoring network mode preference on reboot

When a user sets the option to use only 2G networks (for GSM networks) or its
equivalent for CDMA networks, each reboot erases that setting. That forces
the user to re-select the same option after each boot.
This (very simple) patch fixes it.

Ported from CM9:
http://review.cyanogenmod.org/#/c/16245/

Change-Id: I7ec9e155fed9f57934d7a73936f2bf425c8297fe
Reset data stall watch dog after doing recovery

Without resetting data stall watch dog, one data
stall will lead to radio reset if there is no
data traffic after doing recovery.

Change-Id: Icc7b1e7f160cd0c8910f7132d7c2fea0d29803e5
Signed-off-by: Bin Li <libin@marvell.com>
Telephony: Correct the typo in RIL.java

Change-Id: Ic4bcd054f14d7e4b702b924f799e4d1619b666e0
telephony: Support for Virgin Mobile MMS

Based off of rmcc's bringup commit for jellybean:
https://github.com/CyanogenMod/android_frameworks_base/commit/657a58f681f389010f214dd3ee23102cf17e325b

Change-Id: Ife2d39da9a5adfc19bb6389cb36b5c12eb5a903a
Signed-off-by: Gannon Macdonald <gannon050197@gmail.com>