Import translations. DO NOT MERGE

Change-Id: I4f7003beb0581089c4bb2d2e0cdacf35e374f612
Auto-generated-cl: translation import
Allow carrier provisioning to turn toggle radio power.

Previously CarrierProvisioning toggle airplane mode, but now that's
available only by the system.

Bug: 9356811
Change-Id: I5167f8614c07bafb688983a360a008f76403b2b8
Phone: Show manage conference call list properly

If one active conference call and one hold call is available,
manage conference call list is showing empty list with
only call end button. With this call end button user can end the
call but don't know the exact call information like name or number.

Modify to show the number and end button in manage conference call
if conference call and hold call is avaialbale.

Change-Id: I4832b3231e48b5dd01d488874b1c56b3cac8250a
Phone: Fix Nullpointer exception in GsmUmtsOptions

EnableScreen is trying to  remove the preference,
But which is already removed in GsmUmtsOptions create().
Thus the findPreference is returning null.

To fix this instead of removing  preference set
mButtonOperatorSelectionExpand setEnabled to false.
CRs-Fixed: 386170

Change-Id: I02f11099970af878f2ed4d21ff636ca27cc23e99
Phone: Disable accelerometer sensor while in-call and screen UI is off

During an active ongoing call, on targets that support proximity
sensors, there is an approximate spike in the current waveform in the
order of 1 Hz. Krait is woken up frequently by the sensors even when
the Screen UI is off while in-call. This fix ensures that by disabling
the listener in such a scenario (In-Call + Screen UI turned off) there
is no spike in power consumption.
CRs-Fixed: 336244, 435935

Change-Id: Icdf2b6bd993897750ec3ce9d49ca79878a155bdd
Phone: Remove stale DELAYED_CLEANUP_AFTER_DISCONNECT

During phone switch due to RAT change, any pending
DELAYED_CLEANUP_AFTER_DISCONNECT message in InCallScreen
should be dropped. If they are not dropped they will be
accessing destroyed phone objects even after phone switch.
CRs-Fixed: 370584

Change-Id: I677197b361a92e6e29d7a2072ee3a5f91e4f1a9a
Revert "Allow only NT_MODE_GSM_ONLY or NT_MODE_WCDMA_PREF"

This reverts commit 5c7d3167b8372b040d6c0a695f7c0822d80b2c21.

The issue is that this fix is resetting the network mode in the setting
database to NT_MODE_WCDMA_PREF (0) for all non GSM_ONLY modes. So if user
sets the mode to say Global, the network mode is getting set to WCDMA as
soon as the GsmUmtsOptions Activity is getting created. This causes anyone
who uses the Settings.Global.PREFERRED_NETWORK_MODE directly to see value
of NT_MODE_WCDMA_PREF instead of the actual network mode that is set by
the user.
CRs-Fixed: 349523

Change-Id: I6fae6d60bf6525bc65e7a770548c7dd6ecb9b7ca
Phone: Display IncallScreen when dialed using AT command

IncallScreen is not seen when call is initiated through
AT command.

Display IncallScreen when dialed using AT command.

Change-Id: Ifc7435a139098b7e0dede03261f8a354a0c2f734
Add property for RIL to know if phone is in Airplane mode

Set the airplane mode property for RIL to read on boot up to know
if the phone is in airplane mode so that RIL can power down the
ICC card.
CRs-fixed: 325540

Change-Id: Ifd0e1a29d47a431655521d0006fa552d0674f7b7
Phone: Fix to answer MT call when USSD session is on progress.

On receiving MMI Complete event for USSD cancel operation, InCallScreen
session was being ended. Changes done to move InCallScreen to
foreground after cancelling an USSD session if the call state is
not IDLE.

Change-Id: I10decbeddfc72710e27c2accdf1122170b0b1938
CDMA NV mode OTA dialogs

* In Cdma NV mode default to legacy OTA Do not use
"voiceless_cdma_provisioning" for all LTE capable CDMA phones
in NV mode. Default to legacy OTA for CDMA NV mode. For LTE
devices provisioning will happen through card anyway.

* Cleanup undismissed ota dialogs on dialing new call Ota
failure dialog is dismissed during onCreate of
OutgoingCallBroadcaster and not in OutgoingCallReceiver. Because
emergency calls do no go through OutgoingCallreceiver. This
prevents the ota dialog from hiding the emergency call Inscreen.
CRs-Fixed: 328887, 338024

Change-Id: I842107b377384736a5f0935dea79a18f61d74a9a
Phone: Don't call resetInCallScreenMode

Prevent InCallScreen's call buttons from being removed
after a radio technology change.

When an emergency call is initiated in out of service, it is
possible to get a radio technology change if phone is unable
to camp on the one that is currently configured. This causes
an incorrect cleanup, which removes the in-call buttons from
the UI.
CRs-Fixed: 459654

Change-Id: I0624c048dc37c1c7fb9316c6e26e52ca7223a2bf
Phone: Do not cancel PLMN search on touching outside the dialog.

Do not cancel manual PLMN search dialog when user touches
outside the dialog boundaries.
CRs-Fixed: 488370

Change-Id: I1e321caf32f7254360f006be6fbf7d7b144d5059
Phone: Display toast message for blank USSD request

As per spec 24.080, ussd response string should be
between 1 - 160.
When user requests SEND_USSD with blank/no
input, display toast message prompting user
to enter valid input.
CRs-Fixed: 464530

Change-Id: I89707fe2468335f0e9c1cbbd5e7c3a4bf2734cba
Phone: Fix class cast exception in Phone app.

While handling CALL_PRIVILEGED intent with scheme type
"content", PhoneApp storing Uri type object in userdata
field of Connection object, but while retrieving it type
casting to CallerInfoToken class and due to that class cast
Exception is observed in PhoneApp.

To fix it, added code to properly type cast the userdata
field of Connection object to Uri type class.
CRs-Fixed: 468596

Change-Id: I74cd29e696f42017fac5957688f24528abe19cc8
Phone: Fix waiting call answer issue

When hold and active call exists, to answer the new incoming call
 -hangupActiveCall() method alone is sufficient
 -Do not call answerCall() method, which is causing to switch
the answered call to hold state.
CRs-Fixed: 436818

Change-Id: Id395abea172adc78c90acd7333806ec1b11173f9
Phone: Managed Roaming feature re-design.

Change-Id: I67118e1e351aab5ce7eabc71bd7ced831bdbb944
Phone: Display message to indicate PIN/PUK status changes.

Changes done to display retry counter on wrong entry of PIN1,
and message to indicate Code accepted/PIN1 blocked during
PIN1 verification as per certain carrier requirements.
PhoneApp: Add APIs that report actual error code on PIN/PUK operations
The current APIs that are used to verify the PIN and PUK only convey
whether the operation succeeded or failed. As a result on ANY failure
clients ask the user to re-enter the PIN.
Add 2 new APIs that report the actual error code in case of failure.
CRs-Fixed: 357021, 441001

Change-Id: I01a4cf9dc1fbccdb8944eb59e10fef8f306a7f6e
Phone: Display Supplementary Service Notifications

As per spec 27.007 - 7.17, Supplementary services notification
should be displayed to the user.
CallNotifier registers for SVC notifications and the message
is displayed in the form of Toast to the user with the appropriate
text depending on the type of notification.

Change-Id: Idb9226d3aaa23723c5755db79a05c1a1a236d36f
Phone: Display proper message in Call Barring case.

When Call Barring is enabled on MT side, proper
message should be displayed to the user on MO
side.
As part of this change following will be displayed-
-Toast message "Incoming call is barred"
-Pop-up dialog "Party has barred all incoming calls"
CRs-Fixed: 382712

Change-Id: Ia5ced3848170731b279a6a877c1062cc1f14fe04