Display Supplementary service failure

Whenever there is a supplementary service failure recieved from
RIL user will be notified with the dialog.

Change-Id: Ied82564c483ef418da070541a55e6721c4b22a80
CRs-Fixed: 610064
Display sub details on incoming call

When incoming call arrives display the subscription on which the
call has arrived to the user.

Change-Id: Ib9f13fc5c674739ccc8acfd87b7c3de32b810474
CRs-Fixed: 722427
DSDA: Consider subId for conferenceable calls

When one call is active on one sub and one call on hold
on the other sub, the conferenceable call list has to
consider the subId of the calls as well.

Change-Id: I9e0e35284b4cceb13e8b3b406f2eef69c0f9ee3a
CRs-Fixed: 732260
IMS-VT: Call data usage feature

- Add support for call data usage callback
- Request for call data usage stats
- Log call data usage stats when IMS layers send update

CRs-Fixed: 747694

Change-Id: I3f0dde0d82698085fa5d3f110720f10326eca768
IMS-VT: When TTY is ON, do not allow upgrade to VT call

When TTY mode is ON, the user SHOULD NOT be allowed to upgrade
a call from VOLTE to VT/VT-TX/VT-RX and an UI alert message will
be displayed explaining upgrade to VT call cannot be initiated.

Change-Id: Ia3fd9551714fca5a41e921845bc99ab8fef987bf
CRs-Fixed: 734257

Conflicts:
	src/com/android/incallui/CallButtonFragment.java
Fix MO call crash issue with no sim.

Emergency call  phone account does not contain sub id.
Assign default voice sub id while parsing subscription for
emergency calls.

Change-Id: I02ca06630ed2a6db56ae85ca7968611fa4238044
CRs-Fixed: 751750
IMS-VT: Enable SIP based video multitasking.

Enable SIP based video multitasking.

Change-Id: I3731e64617bde9278f13ff94ff829a3a90f467ce
DSDA: Don't hide action bar

Hiding of action bar results in not displaying tabbed view for DSDA.
Hence Don't hide action bar, when visibility of ConferenceManagerFragment
is set to View.GONE.

Change-Id: Ibfef521e47f370af9b0ebc8aad9d875697e2bc17
CRs-Fixed: 750358
IMS-VT: Add null check in call upgrade fail scenario

Crash is observed if call is ended in the interval wherein
handler is started to change state from REQUEST_FAILED to NO_REQUEST
after an interval. Added null check to change state only when call
exists

Change-Id: I382e8885efe0a841ce36c9ff4aff51c6c1b8791b
CRs-Fixed: 752475
Propagate call substate message and display a notification on the UI

Change-Id: I7d96ddc3be73f6f73ff35f15f80e621441c55f59
CRs-Fixed: 749824
Display InCallUI on auto answer

When a MT call is auto answered bring the InCallUI to foreground
by starting the InCallActivity

Change-Id: I77e21f41699fa3ff78dd793d2f226ad95d11497f
CRs-Fixed: 749609
IMS-VT: Upgrade button fix

-Show upgrade/downgrade button only when call is in ACTIVE or
 ONHOLD state

Change-Id: I3e4a2a3a1bbc9a71d5ec388c439648b58e5af88f
CRs-Fixed: 746297
Ims: Reject upgrade request

1. If there is waiting call that is pending user action and
2. Before offering a waiting call

Change-Id: Ic52340de09d71b6d43291b69a1757e717a787370
CRs-Fixed: 748298
IMS-VT: Show correct call types during video pause

-In paused state, upgrade downgrade button does not list the
 calltypes dropdown box
-Remove the paused bit to calculate call type during video paused
 state.

Change-Id: Ide5e4f55690567bb680acd52cc507d40b28c37ce
CRs-Fixed: 755923
IMS-VT: Provide Player State indication to user.

Change to display "player started/stopped" toast message
whenever video starts/stops flowing

Change-Id: Iaab4772a253c7705da5b8ebc39593ed28059e0e5
CRs-Fixed: 686192
IMS-VT: Move strings for video quality changed indication to resource files

Change-Id: Iee4d9152c6a2dcc8ce35776ceeaaf05966c1810e
CRs-Fixed: 761000

IMS-VT: Clean up the showCallSubstateChanged API

- Make the code more readable.

Change-Id: Ib7815cc57f74bbdd1fdfa830964713c781a87e9e
CRs-Fixed: 761000
Handle NumberFormatException gracefully

Handle NumberFormatException at relevant places
when subId is parsed as Long.

Change-Id: I189704113d2df64c40465d4d2e2e49f2a2534bfe
Set display size as per current TextureView size

- Using TextureView height and width to calculate the display size.
- When ever there is change in display make sure that center the display.

Change-Id: I34a19fd466ce03703953c78b2da1b2b14c17cb09
CRs-Fixed: 751961
Add null check for InCallActivity in setInCallAllowsOrientationChange

- In some cases, this API is called when InCallActivity is null.
  This causes a null pointer exception. Fix is to add a null check.

Change-Id: I92f37084b4d00c4a6de83143415dc67769b03ad2
CRs-Fixed: 762840
IMS-VT: Cleanup video views when not required

- Hide video views when not required.

Change-Id: Idf33a35594ceb5892fbf8aba18177446c7df20f0
CRs-Fixed: 754002