Fix to display call correctly on UI

When there is a conference call on other sub get the primary
call to display based on subId of the children in conference call.

Change-Id: I8e6a94d43c762fca8886c8d127d287a8968fdf34
CRs-Fixed: 731614,731617
IMS-VT: Hold button fix

-For VT calls hold button is not seen. Fix this.

Change-Id: I9be44a5ae133b54c8348627c29b8a0e10f771c90
MSIM(DSDA): Show both incoming calls properly to user

If incoming call comes when screen is on & unlocked, as per current
implementation, inCallActivity is not started and only a notification at
top of the screen is displayed and hence if another incoming call comes
on other sub, previous notification will not be visible to user.
This fix ensures inCallActivity started when ringing calls are there
on both subs and hence user can select using tabbed view which ever
sub he likes to answer.

Change-Id: I160bb1837305ed27a955a0e84a99a52611b64274
CRs-Fixed: 734128
Don't default to speaker phone for VT when speaker is disabled

- The adb property persist.radio.ims.audio.output indicates
  whether speaker is disabled explicitly or not.

- If the above property is set to 1, don't enable speaker
  phone by default in VT call...

Change-Id: I1dba582235aa20bc30751d417087e382b606445f
IMS-VT: Fix CVO, surface and resource related issues.

- Send initial orientation to VT Service.
- Detect if Activity is being destroyed due to
  confugration changes.
- Close the camera when InCallUI is pushed to background.
- Fix surface and VT service related issues when Fragment
  and Presenter gets destroyed.

Change-Id: I1cfd4eacbdfa1835730bcadafe2382d1b3805ebf
IMS-VT: Peer Resolution Feature Implementation

Change display video size based on peer resolution values
received from far end.

Change-Id: I80f7db355837ff334e50c88bca2358c50d1e261e
Fix MT Sip call crash.

A sip call  phone account does not contain sub id.
Instead it contains sip uri.
Assign default voice sub id while parsing subscription for SIP calls.

Change-Id: Ibb740c547c922ff6ea806d952a9edea63c4fe95d
CRs-Fixed: 703374
MSIM: Retrieve voicemail number through subscription

Use msim API to retrieve voicemail number.

Change-Id: I8ba66b693bdd737c5335cf8c2e25868a02a334a2
CRs-Fixed: 742962
IMS-VT: Answering calls and upgrade requests as VT_TX and VT_RX

-Support for showing one way options for incoming upgrade request
-Fix issue where incoming video popup stays on screen even after
 rejecting the request.
-Fix issue where incoming video popup stays on even after it has
 been timed out by lower layers.
- Answer with different calltypes support.

Change-Id: I971a7e227d4d8a5ec26b2d79126094b0d8786027
CRs-Fixed: 738027
Notify listeners of video quality changed event and display message on UI

- Add methods to notify listeners of type VideoEventListener
  when video quality changes.

- Display a notification on the UI when video quality changes.

Change-Id: Ifa86eb78a583f1ad60e4b842af93c8e348b7fd86
Dialer lookup.

Squashed commit of the following:

commit 825ec9452df573bab23f191f4923024064b00521
Author: Xiao-Long Chen <chenxiaolong@cxl.epac.to>
Date:   Fri Feb 21 11:47:43 2014 -0500

    [WIP] Not using the PhoneNumberService API for reverse lookups anymore

    Change-Id: I75c2a4f5241a5bef5fd78610758629f7543bc4da

commit 05bc81a9c60abaaa7274f4ee7550b7d081bd3482
Author: Xiao-Long Chen <chenxiaolong@cxl.epac.to>
Date:   Fri Feb 21 11:47:08 2014 -0500

    Revert "InCallUI: Add phone number service"

    This reverts commit 88d19f23f9a311bb4880bc38535037a3541a5371.

    Change-Id: Ic43d041f50179200bfd81e803caaa71cc3395695

commit e7b109855cf80067aa63144439f6aac9feb726f9
Author: Xiao-Long Chen <chenxiaolong@cxl.epac.to>
Date:   Fri Jan 31 16:00:39 2014 -0500

    InCallUI: Add phone number service

    Change-Id: If95f5529e868110006e1196040a0595a33059ac8

Change-Id: I5f0a948d5ab14c9f2964d0eeb21f90cdb5427ffd
Add back in-call vibration features (1/2)

Add backend implementation, implemented in UI instead of telephony
service this time.

Change-Id: I39ccc423d3d38b0dd78b4e291a2ec2ef679cd865
InCallUI: deblur fab_(red|blue).png

Zigzag edges.

Change-Id: I6a0861aed5aacfe23a573d0161afe971707bd154
Fix call tracking.

getActiveCall() can return null when ending calls locally before they
are answered locally, so better use the presence of an active call as
indicator of whether to do the vibration instead of using the state.

Change-Id: I088cd743c9a9e6704e93f8c48fb566b3a20ca8be
Send DTMF tones for dialing call

Fallback to active call only if outgoing call is not present.

Bug: 18224969
Change-Id: Ic3238bf539fe2188dce8ed4010652a6fc26a6435
InCallUI: Stop the running animation before hide the icon

There is a running alpha animation on the state icon,
so it can be shown.

Before hide the state icon, clear it's animation firstly
and do not start animation unless it is visible.

CRs-Fixed: 741096

Change-Id: Id14d9f6e8e5d968b9d0497945833f7e6e78e1b06
Base InCallUI theme on material theme.

Not sure what CAF thought when they changed it to Holo...

Change-Id: I2bdc692b782dda8730e9dfb79603951470108dac
Hide some incall buttons