Telephony: DcTracker: Fix CDMA APN Data issues.

Fix CDMA data issue when it can't find an APN match. This fixes cases
CDMA NV or RIUM/SIM doesn't have the information to pass on.
It assumes GSM like mode on CDMA. So fix that and pass on to CDMA
stubbed apn found in android 4.2.

Change-Id: Ic13235744fca561cff4d49ae5c799420c30a3840
telephony: DataConnection: support old RILs

Older RILs require different technology value

Change-Id: I0249bb597e2592b7e951945bc97d144ee2b2307a
Fix RIL_UNSOL_CDMA_PRL_CHANGED constant typo (2/2)

Change-Id: If3ff32a3974368d9ea2756d3d9a22d4713e704fa

Conflicts:
	src/java/com/android/internal/telephony/RIL.java

Conflicts:
	src/java/com/android/internal/telephony/RIL.java
Mobile network type is not updated when the network mode is switched.

Because ServiceStateTracker doesn't handle the change of ServiceState
after switching of Telephony FW, SystemProperty used for displaying
the mobile network type does not become to Unknown. To fix this issue,
when the network mode is switched, the SystemProperty should be
initialized to Unknown in the constructor of ServiceStateTracker.

Change-Id: I903ba855b9fe22530db8494a9d2615959970c5a4
telephony: set PROPERTY_DATA_NETWORK to data technology

The GSM SS is inaccurately setting the property to voice technology
instead of data technology (CDMA's SS is correct.)

Change-Id: I35a0a789bc06159f65325946e43f166f531bb1cc
Telephony: prevent NPE

Change-Id: Ia7a08334a901ef67353d5816d0822d0cb2d57daf
Properly notify of precise call state change after connection hangup.

When disconnecting connections via Connection.hangup(), previously no
precise call state notification was sent out.
This change should fix BT headsets ringing indefinitely after a
blacklisted call came in, as BluetoothPhoneService can now update the
headset state properly.

Change-Id: I4439d7d8ed47e72da9d061b885ec9a0e6e1b784d
Telephony: Query SignalStrength when there is a RAT change.

In CdmaLte phone when RAT switch happens, telephony receiving
new signal info before updating to new RAT and because of that
the received signal info is ignored and empty bars updated
on UI. To avoid that query signal strength info when there
is a change in PS RAT happens.
CRs-Fixed: 464438

Change-Id: If494b9380f47bd82fe4f5dec03f9538c7ab76b49
Don't assume 3GPP as active app on CDMA with LTE device

IccCardProxy assumes, that on a CDMA+LTE device, the active app
is the SIM/USIM and not the RUIM/CSIM. However, for voice RUIM/CSIM
is the active app on such a device. All services, like FDN,etc. should
be tied to the active voice app.
CRs-Fixed: 428304, 506938

Change-Id: I70894a1aab0a812a50f1cbab986161bb3b708b85
Don't display prompt when card inserted/removed

UiccCard displays a prompt to reboot the device when a card is
inserted or removed. Don't display this if the modem supports
hot swapping.

Change-Id: I43fc95e61382671f61286818304ec58e922e8605
Telephony: Guess radio tech

If RIL returns radio_tech_unknown IccCardProxy
needs to guess radio tech family.
It will do so based on present uicc applications.

Make sure that all pathes update IccCardProxy
radio tech, since it has its own logic for determining
app type, which might change even when PhoneProxy
ignores the change
(An example of this would be umts->unknown->umts change)
CRs-Fixed: 460777

Conflicts:
	src/java/com/android/internal/telephony/uicc/IccCardProxy.java

Change-Id: I04ee067cfb5f6517298458667500db14aaefc810
Fix 1x/evdo data call for NV/RUIM based subscription.

NV/RUIM based CDMA subscription was not handled properly in
DcTracker and data calls were not initiated since it was
waiting for sim loaded event.Changed the code to allow data
calls even without loading SIM ,if CDMA subscription is NV
based.
Dummy APN profiles will be created based on the current DATA
radio technology so that they wont be used for GSM/UMTS/LTE
and eHRPD.

Patch set 2:
* Rewrite a portion of the fix to Google standard.
* The reason string is only for log purposes.
* Add support for SIM/RUIM based connection.
* Consolidate the fix to one method.
Change-Id: Ie536f10e76befc62bdd4e1b99f3db7906d0f345d
Enable SVDO. (1/2)

Allow evdo/ehrpd + voice simutaneously.
Use ro.ril.svdo=true

Change-Id: If7be25edc10f21680adbe3a059370d77a82ef076