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
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
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
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
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
SelectSubscription: set default parameters for ACTION_DATA_ROAMING_SETTINGS

ACTION_DATA_ROAMING_SETTINGS is a public intent. The caller
shouldn't need to send extra parameters to call the intent.

Change-Id: I72ea28d8760caf1965c8df0835f438a22331450e
Automatic translation import

Change-Id: I8270caea41d5f179d7bcab2e695728206e87fdec
Automatic translation import

Change-Id: I8d9cefaa24947b2b6e008f2e9bb953bbadea1578
OutgoingCallBroadcaster: add subscription id to NEW_OUTGOING_CALL

This extra is sent on the stock ROM of many multi-SIM implementation
according to the author of the app "Operadora DDD". This allows
applications intercepting outgoing calls to know which SIM the
call is being made with.

http://forum.xda-developers.com/showpost.php?p=52940171&postcount=1876

Change-Id: I5bb379ea924209edb3dd01482f8dd5454a064de1
Automatic translation import

Change-Id: Ibeae48ae434f281784fc37c34af568b17e0d6777
Telephony: respect quiet hours vibration settings when ringing

The quiet hours "Disable vibrations" option did not work
for incoming calls.

Change-Id: I9ca0c9371cca61cf75b586f93f34b299de6776be
Signed-off-by: Roman Birg <roman@cyngn.com>