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
(cherry picked from commit dcaccd80325e21a4b77917386a11031f84316246)
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
(cherry picked from commit 3cf225f5d51061acc57fb2188e934ce76ce67ec7)
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
(cherry picked from commit b239e987a2a35ead4806c2972a94671c4ba65125)
Revert "base: Enhance Web URL pattern"

This reverts commit c40e516161bc273d8fbe1171db28550bc313737c

Change-Id: Ie4e10508564753e3e6f38661776e5ae1a0360f82
(cherry picked from commit 8130deb6f1b6e76064c54e62ce11970bcbb6f58d)
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
(cherry picked from commit f1721efc236892a9ec982de86c017719ee652062)
IMS: start and stop dtmf tones

Support of start and stop dtmf tones in Imsphone

Change-Id: I986f6b8e9aa1a5729d280eb8a5c60e129c3796cd
CRs-Fixed: 751797
(cherry picked from commit 00c5cdce7c3a0f7d528f8e7eb7f905b0d1901730)
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
(cherry picked from commit 6e94f7a0aef5c6af194f2c885f11a6d77b4b0746)
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
(cherry picked from commit 859b36742ba4d7ea675cf695f45e7f9da09726d4)
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
(cherry picked from commit fec2f5f72c7418c819bd5f7d69949cf4293b4d74)
IMS-VT: Peer capabilities support

Add support for querying peer capabilities

Change-Id: Ibfc0f2d4864cb743acc0b7f12aa8ef3e7f41c979
(cherry picked from commit d4058d6aa80de1064d38c4bbf097efe16549d996)
IMS-VT: Add call modifiable capability

PhoneCapababilities call type modifiable constant added

Change-Id: I548b3644e61ec1807f8f79f0dec6e12ab8de6eac
CRs-Fixed: 746297
(cherry picked from commit 9d13650e09100c9fcba6f3c5a9ac5da72c0019c1)
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
(cherry picked from commit a25ebecf4161956b12764df5a3b3efb47b609be6)
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
(cherry picked from commit 207644d0a46a6942e70d8a7c2d1b87cba2773217)
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
(cherry picked from commit 26684f7b045dd3c1240eff36a7818d523703f7fd)
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
(cherry picked from commit d4568aac901544687f664d59b39a604be0f58d6f)
IMS-VT: Multitasking feature

-Support for video multitasking

Change-Id: Ic031ae1681a4bb8299a13a5e8187aaff4f27374f
(cherry picked from commit 15a69407b466e6a1c3a061a5448516456a8d4ee3)
Propagate the call substate changed message to the UI

Change-Id: I2e2b0dd5722ab9d340d10044ad52ba8fee2effe2
CRs-Fixed: 749824
(cherry picked from commit 58d55b7a07c07bf87e9247dcbcae14da0b0c3449)
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
(cherry picked from commit fcd0cd928ea751e0f07be6b1eb3a8da6935b5b5c)
MSIM: Retrieve the QS Data icon through PhoneId

While updating the quick settings data icon,
use Msim API to get the icon.

CRs-Fixed: 743707

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/policy/TelephonyIcons.java

Change-Id: I6d106e2d03c92eabb7be92f0cf1957489beca0fe
(cherry picked from commit 7bc2336da3bf860e73d9d0e281ad68746f85a867)
frameworks/base:InCallUI is not coming in but ring is coming in DSDA

Issue: Latch the DUT in W+G DSDA mode.Receive a MT call on DUT
       on sub2 and connect the call. Receive a MT call on DUT on
       sub1 but reject the call. Disconnect the call in sub 2.
       Make a MT call to DUT on SUB2.

Fix: The previous activity in finishing state is not added to
     waitingVisibleactivity list, when it is already true and next
     activity is not visible. Adding it to waitingVisibleActivity
     list enqueue the activity to be destroyed when IdleTimeout
     is scheduled.

Change-Id: I9941f61e4bd8c1df73b0328fc2b4231a068e8a70
(cherry picked from commit 9da5954e85e26aa28e077a7fc15f490f01147376)