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: I357184eae875e501b988375261cede68f796f00b
CRs-Fixed: 594214
Telecomm: Add support to set ring tone for SIM2

Can set different ring tone for SIM1 and SIM2.

Change-Id: Ie715e2c2d7e3760f7d0fe9ba2a9ecdafd9a42277
IMS-VT: Change parameter type of data usage

Change Data Usage methods to take parameters of type long
instead of int

CRs-Fixed: 747694

Change-Id: I6a277dedb5976261035084955ed8a90da256061a
Accept waiting call, when hold & active calls are present.

In order to accept waiting call when hold & active calls are
present on same subscription, disconnect active call before
sending answer request for waiting call.

Change-Id: Id33224e43ca6db283bf6f8a03cbaac4b6cdefac2
CRs-Fixed: 723716
Merge "Send 'reject call with sms' on the correct subscription."
Set audio mode after accepting the call

Set the audio mode to incall immediately after accepting the call and not wait
till call is reported as ACTIVE by RIL. This is done to speed up time taken for audio
to set up the voice path

Change-Id: Id78c467869693087c49b743e67b7a77aff841ae3
CRs-Fixed: 726708
Telecom: Disable "Add call" if the call is not active or on hold

The call state check is missing in isAddCallCapable function.

When set the capabilities for call, check it's state,
enable the "add call" capability only for the
"ACTIVE/ON_HOLD" state.

Change-Id: If6220e68a55fcf10798c8e6909c3038788a8a55e
CRs-Fixed: 740949
Merge "Set audio mode after accepting the call"
Merge "IMS-VT: Change parameter type of data usage"
Merge "Accept waiting call, when hold & active calls are present."
Merge "Telecomm: Add support to set ring tone for SIM2"
Merge "Telecom: Disable "Add call" if the call is not active or on hold"
IMS-VT: When TTY is ON, do not allow MO VT call

When TTY mode is ON, the user SHOULD NOT be allowed to make
a Mobile Originating (MO) VT call and an UI alert message will
be displayed explaining MO VT call cannot be initiated.

Change-Id: I774f0490850c6376be923c73aa8c930d66253f28
CRs-Fixed: 734257
Merge "IMS-VT: When TTY is ON, do not allow MO VT call"
Telecomm: Don't prompt to select the subscription when adding another call

Can't MO calls in different SIM cards in DSDS mode,
no need to prompt again when adding another call.

Use the current active call's phoneAccount to MO a second call.

CRs-Fixed: 746622

Change-Id: I5169cf4b5406b39ca6c28a090e21a79074b8c56a
Fix to prevent null pointer exception

Add null check while checking for phone account.

Change-Id: I0eeeee3c5d42b9230a2c5bff450b193db8504e9f
CRs-Fixed: 754640
Merge "Telecomm: Don't prompt to select the subscription when adding another call"
Set active subscription properly

Unset ACTIVE bit only for a subscription which is not an active
subscription.

CRs-Fixed: 755483
Change-Id: Ie8aa357dc16057bea7c99128e3c68258d6bfdde7
Telecom: Do not save an empty quick respond message

Can save the quick respond message when it is empty.

When the new quick respond message is empty, do not save it.

CRs-Fixed: 752462

Change-Id: Ie1f7d9afb79694f2d9ab9be1b8406fa3c7eebbc8
Bluetooth: Send default value for CNUM.

 - When null value is returned for operator's
   name and subscriber number from telephony
   API's add default values for those.

Change-Id: Ic00e79bd9c8ad1a69ea25683081634225090c563
CRs-Fixed: 756104