Display correct message while importing contacts in APM

Check for Card state before displaying message to the
user when airplane mode is ON.

Change-Id: I6d881bbbf04faacc6f382405e29b4cdc8a61ec13
CRs-Fixed: 599392
IMS: Initiate emergency calls on IMS phone

PhoneUtils placeCall() is the end point to place dial
request. Check if IMS is enabled & if its emergency call,
use IMS phone.

Change-Id: Ic0a1dc396df7787bb80a2a65364b0c1f87bd7219
CRs-Fixed: 593894
Call cleanOtaScreen when otasp call is disconnected.

Call cleanOtaScreen to clear the OTA screen. Current
functionality does not clear ota screen when otasp
call is disconnected.

Change-Id: I5e6c19728fd18191de3ba65ce358e852dd7d9d57
CRs-Fixed: 599388
Handle Dialing State during Emergency Call Dial from APM.

When Emergency call retry timer expires and the call
is still in dialing state, Emergency CallHelper assumes
the call is connected and cleanup happens.

Do not clean up until we are out of dialing state and
wait for the call connection to progress further before
cleaning up and end the Emergency call attempt.

Change-Id: Ia9bf693e11be0dea97c70a0bac04d6fff50e6913
CRs-Fixed: 600481
Add support to use Ims Service directly for service status update

1. Add listener for Ims Service in Phone Globals to get the
updates for service status changes.
2. While checking capability to add call when IMS is not enabled,
change add call capability as not allowed if IMS is phone type.

Change-Id: I36ccb3c83da6c3670665896e099d04a0f783d4d6
CRs-Fixed: 593286
Merge "Call cleanOtaScreen when otasp call is disconnected."
Merge "Add support to use Ims Service directly for service status update"
Merge "IMS: Initiate emergency calls on IMS phone"
IMS: Initiate emergency calls on IMS phone

PhoneUtils placeCall() is the end point to place dial
request. Check if IMS is enabled & if its emergency call,
use IMS phone.

Change-Id: Ic0a1dc396df7787bb80a2a65364b0c1f87bd7219
CRs-Fixed: 593894
Merge "Display correct message while importing contacts in APM"
Do not show roaming dialog if network scan is in progress.

When network scan is in progress, do not show the
managed roaming pop-up dialog.

Change-Id: Id11337b6dfa64dab722896266b28db65bb8063e2
CRs-Fixed: 533982
Send 'reject call with sms' on the correct subscription.

Send sms on the subscription on which the call is rejected.
Add subscription info with the intent 'ACTION_RESPOND_VIA_MESSAGE'
on which the call was rejected.

Change-Id: I24fd597ed291d691368901040d71185cd3e922c9
CRs-Fixed: 594214
Ims: Add ANSWERED_ELSEWHERE DisconnectCause

ANSWERED_ELSEWHERE DisconnectCause will be sent
when lower layers indicate that MT call is ended
due to a release from the network because the
call was answered elsewhere.

Change-Id: Ibd2f41db3a263c031d94f27df0a65dee29b4819c
CRs-Fixed: 593987
Ims: Add ANSWERED_ELSEWHERE DisconnectCause

ANSWERED_ELSEWHERE DisconnectCause will be sent
when lower layers indicate that MT call is ended
due to a release from the network because the
call was answered elsewhere.

Change-Id: Ibd2f41db3a263c031d94f27df0a65dee29b4819c
CRs-Fixed: 593987
Voice Privacy Icon Support for CDMA

CallNotifier does not update the UI directly for Voice
Privacy Information for CDMA. Hence,VP icon
is not shown on the UI.
With this Fix Voice Privacy will be part of call capability
information. IncallUI will update the VP information
whenever CallNotifier is notified of VoicePrivacy change
by triggering PhoneStateChange.

Change-Id: Ia0966f3546e83b8160c363688ce23368e35435ca
CRs-Fixed: 599389
Merge "IMS: Initiate emergency calls on IMS phone"
Merge "Handle Dialing State during Emergency Call Dial from APM."
Merge "Send 'reject call with sms' on the correct subscription."
Merge "Do not show roaming dialog if network scan is in progress."
Merge "Ims: Add ANSWERED_ELSEWHERE DisconnectCause" into kk_3.5