Phone: Add a controller for proximity sensor

Add the setting for enable proximity sensor or not when calling

ps2: Enable via overlay

Change-Id: I42bc05ae1c22443cca782ac1ae66d5d5bb4ac858
TeleService: Fix issue can't answer/reject call when at USSD content view

When show the USSD dialog, MT a call to the device at this time and
the IncallScreen will show behind the USSD dialog. That's because
the USSD dialog has the WindowManager.LayoutParams.TYPE_SYSTEM_DIALOG
and WindowManager.LayoutParams.FLAG_DIM_BEHIND properties.
So it always show on top of screen.

We should add the function to hide the USSD dialog when a new ringing
connection comes and show it again after disconnect this connection.

CRs-Fixed: 551995

Change-Id: I5ea315c012ecd17f8d0e5e3b36299a80d6f20fc8
Phone: Add call barring feature

Add the call barring feature in the call settings.

Change-Id: Idc79e83e783f421655991ba5091c99fd478ce32a
Phone: Add emergency call list setting feature

Enable the feature of emergency call setting, user can add/remove/edit
emergency call numbers with this feature.

Change-Id: I2e3a15fdd34a328373f53d802b18d4e42d56e6f5
Add config to control disable SUB2 apn.

When disable_data_sub2 is true in DSDS mode, disable apn of SUB0.

Change-Id: Ie10803e791e3cc3d3ba30c9d940f56feb3df7935
Phone: Add support for IP call prefix

Add a preference screen to edit IP call prefix, and add the
prefix when MO a IP call.

Change-Id: I258ee4b15a52ac7612fc72243db1f08d66bd71d0
Phone: Enable incremental search for PLMN

As per existing implementation Modem sends all the PLMN list information
in single request. once all the PLMN list is available then it is displayed
in UI.

As part of these changes Modem will send incremental PLMN list available
to telephony. When the list is available from Modem to telephony, the
PLMN list is displayed in UI.The UI gets refreshed with incremental PLMN
list whenever there is an indication from Modem.

Change-Id: I7aff3a28047f8fe98fdd1027c4da157d70f9f996
Phone: Fix can not dial correct number when MO IP call

Correct the setting key of ipcall
CRs-Fixed: 602272

Change-Id: I4af6dab805de6ef8bb08153e069d4a9db80afded
TeleService: Disable CDMA subscription for carrier requirement

For carrier requirement, disable CDMA subscription settings,
and set summary to indicate current mode.

CRs-Fixed: 596648

Change-Id: I8989878394539a44250ae6f89ed9c29e186e52c5
CSVT: update csvt in Telephony Service App

Change-Id: If9f2c36c41d73741b4af832b7091a92115b470ba
Add new Network mode menu list

Only "4G/3G/2G mode" and "3G/2G mode" should be shown for CMCC
requirment.

Change-Id: I71444af90e7a110a486b0d492765b486634122b4
TeleService: Adjust UI for telephony service

 - Hide roaming button according to config
 - Remove data button for signle phone
 - Modify call settings strings

Change-Id: I9785fb0646b03ac48cafc006dc13e233aa06b7fb
Change the logic to determine a conference call

Currently a call is declared as conference if there are more
than one connections for GSM and for CDMA based on the state
of the call.But actual logic should be based on the number of
ACTIVE connections in a call.

Change-Id: Ie0d67fe10c41e86716b8b39921c9a6269671582d
CRs-Fixed: 619901
Phone: Add CDMA call forwarding function

Add support for CDMA call forwarding function.

Change-Id: I75cabc9a43ae3ab73ebafc462b503c17fff0ae38
Phone: Dial out with the correct sub that Mms has set

It will show the sub selection dialog if user set the voice to
"Prompt User", regardless of which sub the Mms widget has set.

If we can get correct sub from intent, dial out directly.

CRs-Fixed: 618765

Change-Id: I3582b4ed40736cf9275a45a582bd208380535e49
IMS: add ims call log type in Telephoney Service.

Change-Id: Id375c51717ab7dc098cf904ddffb8483880c3fed
Phone: Disable the preferenceScreen when SIM card is absent

Did not check the current sub is inserted or not,
and do nothing when the current sub is not inserted.

Disable the preferenceScreen when SIM card is absent.

CRs-Fixed: 621122

Change-Id: I4b1af68bbecaa716c806520f51270f6b6259d27b
Phone: Add uplmn setting for cta test

Add preference "preferred network" in settings for cta test.
Add two activities for user to search and edit plmn.

Change-Id: Iaab46cd26f6c0e75439dc56409ddbc8e5ef57dff
Phone: Add sub ID and actual duration time in call log.

Add the slot id in call log.
Add the type of duration(Active time/Call out time) in call log.

Change-Id: Ic9463029e45420321d861187c8fa61e809670808
MSIM: Add support to send dtmf for SCH tone

Send DTMF to remote party on LCH subscription on regular interval,
so that remote user on LCH sub would hear SCH tone. Stop DTMF as soon
as the subscription is removed from LCH.

Change-Id: I00a305de7be7134c7006e2572bd8c6b02f677244
CRs-Fixed: 610582