Ims: Fix not to strip separators for conference

stripSeparators API was getting called for conference
recipients and "tel:" is stripped out.  This fix is to
skip stripSeparators API for conference recipients.

Change-Id: I5670417c003c68677c7df95c7c702c23c3d82857
CRs-Fixed: 513188
Ims: Update sConnectionMuteTable with mute value during SRVCC

Retrive mute value of PS connection and update
corresponding CS connection in sConnectionMuteTable

Change-Id: I3e78d17b0e63946a9f25dc56507de35d37973522
CRs-Fixed: 468709
 DSDS : SUB1 deselection crash fixed in Configure SUBS activity.

 dismissDialog is unable to find the dialog id shown by showDialog.
 Checks have been added to show & dismiss the dialog safely.

Change-Id: Iad865fd7c2693952e064add39498c499bffbc46e
Phone(MSIM): Add addParticipant resource in msim layout

To fix null pointer exception on multi sim targets
add addParticipant resource id in msim in call touch ui
layout file.

Change-Id: I4ece7b9987ad1aced47a1e4ebd32ed7f8144ed53
Phone(MSIM): Avoid sending sub info on public intents

Do not include subscription information while sending
below public intents to built in/third party applications.
Applications may not require or they may misuse the provided
subscription id information.
 -Intent.ACTION_DIAL
 -Intent.ACTION_NEW_OUTGOING_CALL

Change-Id: Ic8a1e09d498aca24090f0591880479e2b9bff215
CRs-Fixed: 514061
Phone(DSDA): Add following tones support for DSDA

-Local Call Hold reminder support.
-Supervisory Call Hold tone.
-Local Call Waiting tone.

Change-Id: I70e43f23124f6f16e386fba23accac66d616b6d6
Phone(MSIM): Add Global mode Support for MultiSim.

Add Global mode support for International Roaming Card.

CRs-fixed: 467726

Change-Id: Ib14f9ab525a900899005b9af38375f03bf74dc9e
 Add null check before removePreference to avoid phone app crash

 removePreference for mButtonOperatorSelectionExpand is called
 twice in GsmUmtsOptions. The second call of removePreference was
 causing the crash since the preference has already been removed.
 Hence, before each removePreference, a null check is done.

 CRs-Fixed: 521152

Change-Id: I2b60c28cfc845fe28a7ea4c0a1b983671e347042

Conflicts:
	src/com/android/phone/GsmUmtsOptions.java
Phone(MSIM): Add support for Manage SIM Contacts for MultiSim.

ExportContactsToSim.java
Add Support for Exporting SIM contacts for all available SIMs.

Avoid using ManagedCursor as cursor lifecycle is dependent
on the activity's lifecycle. But Export contacts to SIM need
cursor even if activity is not in foreground.

SimContacts.java
Do not dismiss progress dialog when activity is not in
foreground to avoid the runtime exception.

MSimContacts.java
Add support for Managing SIM contacts for all available SIMs.

Change-Id: I648e6878bde896cb9c9dc458c3fe9789e638a301
IMS-VT: Use Recording buffer architecture for camera

-JNI support for media library camera APIs
-Move existing camera API calls to IMS Camera API calls

Change-Id: I332e0cf8a880848cc285ca13b32a6a19a1c8a644
CRs-Fixed: 511133
IMS-VT: Fix camera choosing logic for VT calls

Sometimes one of the front or back cameras may not be available.
Use available camera for video calls in such a case.

Change-Id: Iadf20c7ed3580801bbb48339f80a8fa31e00f790
CRs-Fixed: 520036
Phone: Check for radio state properly

The implementation of ITelephony.isRadioOn() method checks for
service state instead of radio state. In cases of basebandless
targets, service state is not changed and would remain in the
initialized OUT_OF_SERVICE state. This causes delay in shutdown
procedure for such targets.

Hence a method isRadioOn() is added in phone interface and is
used to get the radio state.

Change-Id: I5a60aa39170f9d2863e95109dfd54cbd29ffdf47
CRs-Fixed: 502317
IMS: AddParticipant button visibility

Add Participant button should not be visible
for non-IMS scenarios.
Add proper checks wrt IMS, to avoid this
button coming up for non-IMS scenarios.

Change-Id: Ia2239959d6b0abe83cfa7c7636a7c4e20b9b88d6
CRs-Fixed: 521616
Phone(MSIM): Data related API changes in phone interface manager

Change below two methods in PhoneInterfaceManager to
return results from the user preferred data subscription.
 1. getDataState
 2. getDataActivity

Change-Id: I9a999c8cc038679a431749ecb2f9aa01627b1cf7
CRs-Fixed: 523453
Phone(MSIM): Update active sub while initiating Ecall.

While initiating emergency voice call on any subscription
set it as the active voice subscription, so that while updating
the in call UI screen phone app will consider the state of
that active subscription.

Change-Id: Iffecf8fa41cfdfba5ee5af3e51d8d4125930e6e2
CRs-Fixed: 523414