Initialize RIL with the correct CDMA subscription mode setting

Users choice of CDMA Subscription Source is stored in CDMA_SUBSCRIPTION_MODE
setting in database.
If telephony restarts after a crash, PhoneFactory sets the
CDMA subscription source value from PREFERRED_CDMA_SUBSCRIPTION
setting and that causes the mismatch with the value in the settings
database chosen by the user. The change is to use the
CDMA_SUBSCRIPTION_MODE setting instead when creating the RIL object.

Also, remove the Setting PREFERRED_CDMA_SUBSCRIPTION from the database.
With this change the special treatment for LTE on CDMA will not be needed.
The correct value can be set in the database for CDMA_SUBSCRIPTION_MODE
and that will be taken on power-up by this code.

Change-Id: I11fff596a5fe721c64f192c889672326517dc43d

Conflicts:
	src/java/com/android/internal/telephony/PhoneFactory.java
core and telephony: Additional HSPAP support

Change-Id: I5e921d2308d873678d6ef67a91cff50d383a176b
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
Revert "Initialize RIL with the correct CDMA subscription mode setting"

This reverts commit 3e7b51952678025e7a6b283baef8ccdcd402e718.
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
Telephony: DcTracker: Fix CDMA APN Data issues.

Fixes Data on CDMA when APN Match cannot be found
Original commit: cd2585eb3f4e2db5c8a36382ffa644fa0d1515b4

PS2: Fixed small derp that was breaking build
PS3: Change author name to original author

Change-Id: Iad7737635686fdb9d7d35099d3cf615eb47a3dfd
Telephony: check if the provisioning apn is actually empty before

checking if they are equal.  Fixes cases where the stubbed apn
(empty) equal to the empty provisioning apn.

Fixes no IP issues on CDMA data types.

Change-Id: Id7bda83778f5ce59c87463c4d44fc5768dbc4a08
CdmaLte: Fix 3G reported as unknown on certain devices

Some older CDMA/LTE RILs only report VoiceRadioTechnology which
results in network Unknown. In these cases return
RilVoiceRadioTechnology for RilDataRadioTechnology.

Set ro.telephony.ril.v3=usevoicetechfordata to enable

Change-Id: Icfbc8739993beae1b0f024bf71374751aa200a01
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