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
TelService: Pass according sub to call setting activity

Use the default subscription when add voicemail number.

Pass according subscription to call setting activity
when add voicemail number.

CRs-Fixed: 630983

Change-Id: Id5d356cfc3afec34573942e4480f7cbf698646c0
CSVT: fix the blue tooth related functions.

Change-Id: If8a1b735f8bd2ac9077a75f4daf784dacdc5ba76
Settings: Display error when MO a call in airplane mode without SIMcard

When without SIM card inserted, service state cann't be
"STATE_IN_SERVICE", so cause cann't dismiss the dialog.

Add the judgement that has IccCard or not. First judge has IccCard,
if has not, pop up "Mobile network not available" dialog. If has
IccCard, then judge service state to work.

CRs-Fixed: 633688

Change-Id: Iffc46f1125c535e664857888a742acd5fd7e411c
Call proper method to avoid waiting call going into hold state

With Current implementation, when there is active call, hold call
and waiting call, and if user answers waiting call, then below requests
are sent to RIL one after the other resulting in waiting call
moving to hold state instead of active state.
HANGUP_FOREGROUND_RESUME_BACKGROUND
REQUEST_SWITCH_WAITING_OR_HOLDING_AND_ACTIVE

Call answerAndEndActive method instead of answerCall when there are
already active call & hold call to avoid the issue. With this fix
only below request is sent to RIL and hence solves the issue.
HANGUP_FOREGROUND_RESUME_BACKGROUND

Change-Id: I83eac7f071ac95234357d83a16ee5ae58bc7e877
CRs-Fixed: 605531
Telephony: Mobile networks & Call settings display as grey when disabled Sim Card

Original design is that only sim state is ABSENT then relative settings
will display as grey, so when disabled Sim Card, sim state is not ABSENT,
relative settings still display as highlight.

Change design as that only sim state is READY then relative settings will
display as highlight, other state including disabled Sim Card will display
as grey.

CRs-Fixed: 630984

Change-Id: Ic5b763b926b318e154f07871851a55c46c95a27d
Telephony: Set ringtone for SIM2 using SUB ID.

Set ringtone for SIM2 using the subscription ID, instead of using
TYPE_RINGTONE_2, and use new interface defined in framework.

Set incoming call ringtone for SIM2 to play.

CRs-Fixed: 612945

Change-Id: I4a8e674b014ef034613682d2e23df2a884588d2c
TeleService: Handle play dtmf tone setting in DSDS mode

Does not handle play dtmf tone setting in DSDS mode.

Handle play dtmf tone setting in DSDS mode.

CR-Fixed: 639612

Change-Id: I99e72db6548e644150cc44c1601cc883616e2a80
TeleService: Hide the item of X-Divert

X-Divert is shown in any featrue.

Hide the item of X-Divert.

CRs-Fixed: 639559

Change-Id: I3b1bf4f9ed7c1534600d5ba45633b7e019e78210