Telephony: Set ringtone for SIM2 using SUB ID.

Set ringtone for SIM2 using the subscription ID, instead of using
TYPE_RINGTONE_2, and use new interface defined in framework.

Set incoming call ringtone for SIM2 to play.

CRs-Fixed: 612945

Change-Id: I4a8e674b014ef034613682d2e23df2a884588d2c
TeleService: Handle play dtmf tone setting in DSDS mode

Does not handle play dtmf tone setting in DSDS mode.

Handle play dtmf tone setting in DSDS mode.

CR-Fixed: 639612

Change-Id: I99e72db6548e644150cc44c1601cc883616e2a80
TeleService: Hide the item of X-Divert

X-Divert is shown in any featrue.

Hide the item of X-Divert.

CRs-Fixed: 639559

Change-Id: I3b1bf4f9ed7c1534600d5ba45633b7e019e78210
Remove the item of dialpad autocomplete

- this item is used to control smartdialer in 4.3,it is no
  longer used in 4.4 any more,so remove it

CRs-Fixed: 640261

Change-Id: I20e4fc8e6d28277f621932a17a48e7e74de6fa14
Settings: Display error when MO a call in airplane mode without SIMcard

When without SIM card inserted, service state cann't be
"STATE_IN_SERVICE", so cause cann't dismiss the dialog.

Add the judgement that has IccCard or not. First judge has IccCard,
if has not, pop up "Mobile network not available" dialog. If has
IccCard, then judge service state to work.

CRs-Fixed: 633688

Change-Id: Icb1c0216c9196be05177266e4545aa0738b5464d
Add UPLMN setting in MSIM device for cta test

Enable UPLMN setting in MSIM device.

Change-Id: If299d18b6c0ed05c5e1a5e78e68e552024767176
TeleService: Only show emergency call list in CT Feature

Emergency call list is shown in all features.

Only show emergency call list in CT Feature.

CRs-Fixed: 641049

Change-Id: I5454189e90b9240d7bde5be2a7a89721f3c78d2a
TeleService: Correct the title of mobile network settings

The title of mobile network settings display as "Call settings".

Set the title of mobile network settings as "Mobile network settings".

CRs-Fixed: 643000

Change-Id: I1c3075ad2096825b563fe1f0a722dd52dbf42f85
TelService: Launch NetworkSetting of "com.qualcomm.networksetting"

Launch the NetworkSetting which is in package
"com.android.phone" after clicking "No service" tip.

Launch the NetworkSetting which is in package
"com.qualcomm.networksetting".

CRs-Fixed: 648771

Change-Id: I866eba16d62c5121b8f5b6f31e247617478acf8c
TeleService: Remove the function of MO call on APM

Remove the function of MO call on APM.

CRs-Fixed: 651321

Change-Id: Ifcef2e26a578243630c85174c163f63763f53db5
TeleService: Highlight the forbidden network operator

The network operator preference will be disabled if
it is forbidden.

Don't disable the forbidden network operator.

CRs-Fixed: 651557

Change-Id: Icb69d0ce45206d74e30de750239da8510f836c77
Fix the failure when doing unit test

Change-Id: Ib5df587535c1da8b2e324ae77c30718f20527599
CRs-Fixed: 652947
TeleService : Add networkmode changed listener and CDMA APN item

 - GSM option screen also has networkmode select list when isLteOnCdma
   is true. Need to add listener for it , or else it will fail to set mode.

 - After set world_phone as false, CDMA option need add APN item according
   to this config. Before it use GSM APN option when world_phone is true.

CRs-Fixed: 640954

Change-Id: I855201506bb77bcd257faf1718cd3daa452d018c
TeleService: Remove "vibrate when ringing" from multi sim call settings

Remove "vibrate when ringing" item from multi sim call settings.

CRs-Fixed: 653620

Change-Id: I051c851d882eb9641ddcb06ce7bc25305be486a1
TeleService : Disable network mode select when it is GSM only

Not allow to select network mode again when it is GSM only mode after
setting preferred LTE mode for CMCC.

CRs-Fixed: 653774

Change-Id: I2e4b1f0ddf5683f0acceeb447b75890170fe8517
TeleService : Fix the network mode wrong issue for ssss

mButtonEnabledNetworks is used to replace the  mButtonPreferredNetworkMode.
But mButtonEnabledNetworks is added by third party for 4G/3G, which can not
fullfill the requirement of now. Use the mButtonEnabledNetworks back, and set
the right choice for it.

CRs-Fixed: 640954

Change-Id: Ia81da435effcde5752b76e83c6d1a9750f62c17b
TeleService: Do not save an empty quick respond message

Can save the quick respond message when it is empty.

When the new quick respond message is empty, do not save it.

CRs-Fixed: 654604

Change-Id: Ifffde3c0ec2272deff5d684509620528ab503992
Fix crash when call to voicemail with no number.

Initialize dialed number to empty string if it is null,
to avoid NullPointerException in Uri.fromParts().

Change-Id: Ic4c68eaa40b2d2c23199619b15a7277e2a8e77bc
CRs-Fixed: 627677
TeleService: Remove the option menu of the restore defaults

This issue is the Android original bug, Google has delete restore defaults
function in Android 4.4, but they don't delete the menu item in quick
response settings.

Remove the option menu item of the restore defaults.

CRs-Fixed: 655895

Change-Id: I66c90f38f3e499cf8ae07b5c93f9cff8136d754d
TeleService: Return to previous activity when click back icon in Dual SIM settings

Return to the CallFeaturesSetting directly no matter
the Multi Sim is enabled or not.

Return to previous activity when the Multi Sim is enabled.

CRs-Fixed: 657329

Change-Id: Ia8bf403b81fb050be565fc2a123341bbb58db05d