telephony: Disable MSIM settings if unavailable

 * These activities share the same intent-filter as their non-MSIM
   counterparts. While this makes sense as a quick hack, it causes
   a UX issue when an app tries to launch one of these. An example
   is Google Voice- when it's time to update your voicemail settings,
   you're confusingly presented with a dialog asking to select
   which "com.android.phone" to use.
 * Disable the activities entirely if MSIM isn't available.

Change-Id: Iedeaf84f343ea0ee290275941cd55862a687800a
Automatic translation import

Change-Id: I1f2244429f7ad3ddd45489bee08cc070c5cb9043
MSIM: Replace names of tabs to real operator names

Add Sim slot number after Operator name and check
for SIM_STATE_ABSENT and display No SIM instead of NULL

Change-Id: If8804c2f14f6bb8adbdbebe7f5def0a133acbb46
Fix MSIM Network Settings (2/2)

For proper testing, re-enable disabler between reboots and toggle of
persist.radio.multisim.config value.

command: adb shell pm enable com.android.phone/.MSimActivityDisabler

Change-Id: I3f6b965340064d2446fb43b0817fb5e8b12d7c0b
Fix appt warnings: Add dummy strings for no default localization

Change-Id: I75587c324bacbea923ae20dec011f84f69028d13
Merge "MSIM: Replace names of tabs to real operator names" into cm-11.0
Automatic translation import

Change-Id: Ib56444ddf3408bf684eef97cef3057e027c57a70
telephony: Remove "managed roaming" feature

 * This feature shows a popup to ask the user if they want to scan for
   mobile networks if the current network is unavailable. It's confusing
   and overly aggressive, and there are other indicators when this
   happens anyway. Kill it.

Revert "Do not show roaming dialog if network scan is in progress."

This reverts commit 7935b65a4ecccf42004fbef389c58133d17704ca.

Revert "Phone(MSIM): Managed Roaming support for multisim"

This reverts commit 2b5ee374043b4f6460a1b29e72dd237b80877a79.

Conflicts:
	res/values/strings.xml

Change-Id: I10f973df18fc7de7f79f13b9f1509ed586e03688

Revert "Add Managed Roaming feature support."

This reverts commit 207dc957d761c2c7472c89db5b19e4ee66818d59.

Remove managed roaming translations

Change-Id: Ibd312162f897ceb7abd009b5587d3bf7319dd062
Holoize multi-SIM call target selection dialog.

Change-Id: I3db399422133f90ac15e9b49a217c67fb1f2da94
Remove hard-coded CDMA roaming mode restrictions.

Prior to this, the CDMA roaming mode (from the "System select" setting) is
vetted against a hard-coded list of two acceptable values (CDMA_RM_HOME:0
and CDMA_RM_ANY:2).  This commit instead vets against the
cdma_system_select_values list, which contains those two values by default,
but may be overridden on a per-device basis.

For motivation, epicmtd in stock Gingerbread doesn't use CDMA_RM_ANY:2, but
values 5-8 to select between automatic domestic, international, both, and
no roaming.  Without this, roaming is unintentionally disabled anytime the
"Mobile networks" setting screen is opened.

From CM 10.2: I6611822822f32cd132a1794e7ca11bf5f751994d,
     CM 9:    I589c660fe3a1b9920cecfc7e6dc044f3f722fbb2.

Change-Id: Ib99fba45e9a85260ca6e3cebdecff988b4ed5547
Merge "Holoize multi-SIM call target selection dialog." into cm-11.0
NetworkSettings: Don't error out with TD-SCDMA values

This adds persistence and the ability to read TD-SCDMA values if
they are set. Both Network configuration and the QS tile toggle
now cycle these modes correctly
Devices supporting TD-SCDMA need to overlay the config_enabled_tdscdma
boolean configuration value to "true" for the proper network modes
to be presented to the user.

The ro.telephony.default_network should also be changed to a TD-SCDMA
value (20 or 18, depending on whether LTE is also supported)

Change-Id: I3a88a01aa9c5c111101c53388d5ba76a99cd0df6
Merge "NetworkSettings: Don't error out with TD-SCDMA values" into cm-11.0
use proper input type for my phone number dialog

This makes numpad to show up instead of regular keyboard.

Change-Id: Iab79c9e34ce881198b6e2eebc768c50ea081812e
MSIM: Use operator name in Select subscription settings

Change-Id: I1cf537c482285ac76bc4c809433f18cbc8eec9f1
MSimDialerActivity: actually dial when an option is selected

Right now, all users can do is click cancel

Change-Id: If87b3d6ad47ef81b9e246a7884dcf58e02d9ddf7
Merge "MSimDialerActivity: actually dial when an option is selected" into cm-11.0
Automatic translation import

Change-Id: I8c6176512b78dec99fac1bd4ae64366053ade930
Telephony: Set X-Divert as untranslatable.

Change-Id: Idffedd118b76a31b770ddfb0e8ecb754e79ba139
MSim: always enable activity disabler

Because MSim setting is a persist variable, and a phone can change
from non-MSim to MSim by flashing a ROM with added MSim support,
we should always run the disabler to make sure the state is always
correct.

The disabler has been extended to also enable the related
component which switching from non-MSim to MSim or vice-versa.

The rename is to avoid the activity not being called due to it
being disabled by itself earlier.

Change-Id: Ibe976bd01ac23cc6665900dafdc158d945480474