Fix volume key music controls and wake up

- Forward port code from cm-11.0 and adjust for 5.0
- Fix not being able to adjust volume when music control is on
- Disable screen off volume/music control when wake key is enabled

Change-Id: Ie0ad83965c41fd33120490c25a4ff3d9b2cbeb37
tethering: updated ipv6 tethering

Add or Remove Upstream IPV6 interface asynchronously by listening
for change in Link Properties for IPV6 addresses.

Change-Id: I12c5dcea324755c850262a1bb84b1bb9ef835555
CRs-Fixed: 758975
Remove make file changes to create framework2

Face detection related changes were added as part of framework2
in kitkat. But in Android L framework2 is no more required, all
the code gets compiled into framework.jar so removing framework2
related make file changes.

Change-Id: I278acc501c04b02bd5abbc6203911f77c30ea243
Telephony: Add new api isMmsDataConnectivityPossible.

- Add a new telephony manager api to get possiblity of mms PDP.
- Its a preemptive API, if app is made aware of that MMS PDP is not possible
  then app can preempt the transaction. It would help in avoiding
  unnecessary PS ATTACH or DDS switches in msim devices.

Change-Id: I4d9dddd138baed4581ca0e01fe301f605c4d8602
Revert "base: Enhance Web URL pattern"

This reverts commit c40e516161bc273d8fbe1171db28550bc313737c

Change-Id: Ie4e10508564753e3e6f38661776e5ae1a0360f82
SystemUI: Fix data tile cannot control card2 data service issue

It should not just set default card data enabled or not.
The method hasIccCard() of TelephonyManager need slod id as parameter.

When click data tile, control all card data.
Use slot id instead of phone id.

CRs-Fixed: 750219

Change-Id: I43f621ace0e32ecfb685b438e32bd48477b475d0
IMS: start and stop dtmf tones

Support of start and stop dtmf tones in Imsphone

Change-Id: I986f6b8e9aa1a5729d280eb8a5c60e129c3796cd
CRs-Fixed: 751797
Add change to show Invalid card when erroneous card is inserted.

Add change to show "Invalid card" on UI on CARD_IO_ERROR when
erroneous SIM card is inserted

Change-Id: I94c52ff462c999cdb8dbe742fa0bd3f1019ce335
CRs-Fixed: 715101
NFC: Add interface for offhost to associate to secure element

Add an interface for payment application to specify secure element, so
multiple secure elements are supported through Tap&Pay menu

Change-Id: If1548e12ccf5b06f032f5725315ad726a88d9002
CRs-Fixed: 744072
Modify isRoaming to getRoaming from Service state tracker.

Modify isRoaming method to getRoaming from Service state tracker
instead of phone object.

CRs-Fixed: 739327

Change-Id: I4ca0f6df65f38a3a0d64fde647fb8506347414c1
IMS-VT: Peer capabilities support

Add support for querying peer capabilities

Change-Id: Ibfc0f2d4864cb743acc0b7f12aa8ef3e7f41c979
IMS-VT: Add call modifiable capability

PhoneCapababilities call type modifiable constant added

Change-Id: I548b3644e61ec1807f8f79f0dec6e12ab8de6eac
CRs-Fixed: 746297
IMS: Clean up Conference URI system property.

Remove system property "persist.dbg.ims_volte_enable".
Add ADD_PARTICIPANT in PhoneCapabilities.toString().

Change-Id: Ic9410ff65319a52d7127c47885e1ce56805fe47a
CRs-Fixed: 727689
Telephony: Add Call domain extra in ImsCallProfile.

Domain to be used for MO Ims call can be specified using the
newly added EXTRA_CALL_DOMAIN parameter. The default value is
CALL_DOMAIN_AUTOMATIC.

Change-Id: Ic86694b32de1836718aa8fc1253924f931459209
ContentProvider: Use the mode the use chosen from the dialog

When the user try to delete contacts, we will show a dialog
to let the user decide whether the app can do the delete
operation or not. This issue's root cuase is that we did not
return the result we get from the user's choice.

Return the mode user has selected instead of the default mode
when we are checking the app's permission.

CRs-Fixed: 750841

Change-Id: I53355d6ff367fcc88330e39986d0a7fd7896861c
Telephony: Add DisconnectCause values for clear code

Supplement the DisconnectCause value for each clear code
to support different behavior when the call is disconnected.

Change-Id: Ifbbc923779565d31a57cd056c5202f0f062700d6
MSIM: Define new intent to send set Uicc result

Add new intent ACTION_SUBSCRIPTION_SET_UICC_RESULT
to broadcast set uicc result.

Change-Id: I0394854d5b9744127154bdb1cb8756aff9b7cb27
IMS-VT: Multitasking feature

-Support for video multitasking

Change-Id: Ic031ae1681a4bb8299a13a5e8187aaff4f27374f
Propagate the call substate changed message to the UI

Change-Id: I2e2b0dd5722ab9d340d10044ad52ba8fee2effe2
CRs-Fixed: 749824
Ringtone: set default ringtone for triple slots

Set default ringtone for triple slots irrespective of how many sim
cards are actually activated. This awkward behavior is to avoid
ringtone missing when multi-sim settings are changed dynamically.

Change-Id: Id5178df89494fef02b13cc989813a9cacd436e9c
CRs-Fixed: 755560