Automatic translation import

Change-Id: Idf6b6417770c5e958981f0e34a986aaae34b9f0e
Automatic translation import

Change-Id: I6a01d44ebc49d936f6400f637f06c1a4c0fdd667
MSIM: Fix crash during set subscription.

After setting subscription, configuration change is triggered
due to MCC-MNC values getting updated based on the sim. This
causes SetSubscription activity to be destroyed and re launched,
causing the AlertDialog window to be leaked from the activity.
Dismiss any dialogs displayed in onPause() to fix this.

Change-Id: I7b75a1bf69ca45053b26fee38649f4a0077351c9
CRs-Fixed: 631176
MSIM(DSDA): Fix to show bluetooth connected state

check for the call states of both the subscriptions before
updating mShowBluetoothIndication.

Change-Id: Id971556d5c81b00c58890dde7f3a352beb0de37a
CRs-Fixed: 650149
Display the radio tech in manually PLMN search results

Display 2G/3G/4G suffix in the operator list to distinguish
different networks of the same operator.

CRs-Fixed: 522564
Change-Id: I007d1abcfba1532e94de712af9d76bf5099c193f
MSIM: Add support for cell info

Add suport for getAllCellInfo in MSIM

Change-Id: I9a43441ad6df9b88fa0c510ee460c49f860336c8
CRs-Fixed: 654445
MSIM:Add null check to avoid phone app crash

When both subscriptions have incoming calls in alerting state, and
both of them disconnected at remote end at same time, Call can be null
in onDisconnect() due to timing issue. Add null check to avoid phone app
crash.

Change-Id: I5c5448765526cc9b6e856476fa05fe9761c2be0e
CRs-Fixed: 652172
Disable Search networks button after slecting it

Disable Search networks button after slecting it,
to control user to select multiple times while disabling data.

Change-Id: I40465982d6515f58a883d6bdfffeb5295d95aaba
CRs-Fixed: 659709
Disable data on any SUB in manual PLMN search

In manual PLMN search disable data if it is connected
 on any SUB. After search completed enable data connection.

Change-Id: I4fdbadd0a568986a64398c78e04eab7ffa37637a
CRs-Fixed: 660590
Update network mode in shared preference

Shared preference should be up to date as this is used
to set to modem once data subscription is changed.

Updating the shared preference when ever user modified the
network type to make sure that latest user prefernce will
be set to modem.

Change-Id: I0b9b75f1f6b91c1b4209c95394c48781f3da3503
CRs-Fixed: 659599
msim: add blacklist and quiethours support

Change-Id: Id5d196b3c8f0a520eb0cd06b0dccb1dcefbd0dc0
JIRA: CYAN-4276
Issue: https://jira.cyanogenmod.org/browse/CYAN-4276
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Automatic translation import

Change-Id: Ia941ed5436ab255bdcfd9ae2d3270675cdf2e11f
Merge "msim: add blacklist and quiethours support" into cm-11.0
Mute phone when flipped over while ringing.

When a phone is ringing, flipping it over will silence the ringtone for
that call. This is especially useful when you're in a
meeting/class/other gathering where lots of noise is frowned upon as it
allows for an extra fast silence.

Also has option to hang up the call. Configurable.

PS2: Revert some lines accidentally changed.

PS3: Summary will change depending on the state + some general style
changes.

Change-Id: If7c2e64e002adbf5a3c8a16c6e6e7b7b6a86fbce