[2/2] Left handed navbar during landscape mode

This patch allows for the navbar to be moved to the left side of the
screen during landscape mode. Left handed people are more used to this
option.

This patch must go with another patch that changes
packages/apps/Settings

Screenshot: http://i.imgur.com/jWqJcEV.png

Change-Id: Ic95e3fda1f55efd2ec908c8d7226e638ec0ab80a
(cherry picked from commit 3fe16ef86f0c1eebe588b34e5dfba9f9a3e21993)

Conflicts:
	core/java/android/provider/Settings.java
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
Correct the lockscreen carrier text case

The carrier text is no longer set to all caps in AOSP

Change-Id: I6a28a2d54a3b748f418af9f867b8be562911ef59

(cherry picked from commit e1b914990a1df5a729c3fb0581ccdae96e453576)
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

(cherry picked from commit bf28212b55cb2a9c566d229c4911a9490fb73321)
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 6de52d02a9e4619c36183e272d69ddfac469b541)
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 24797608da2ebf1b64d268dbf36e33ce11915409)
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)