SystemUI : Fix clear app data crash in recents panel

Change-Id: I78d48fae2ba6ac9727d4997e24af8e4b134950ab
Make "SD Card removed" notification dismissible if the removed SD Card is not the primary storage

The Galaxy S uses the "external SD Card" as the extended storage
and it the notification should be dismissible as it's okay not
to have it.

Additionally, this patch also not hide the USB storage mount dialog
if the removed storage is not the primary storage

Adapted for CM 11

This also includes this commit by @pawitp

https://github.com/CyanogenMod/android_frameworks_base/commit/d07929e4f7182b1684b8a7ed89c58c177ae12c93

Change-Id: I8bab6573766dea68afc919d5fdb3aa606404c2fa
[Base] Nav bar tweaks

    - Toggle on/off (CyanogenMod alredy did but only for hw keys devices). crDroid allow all devices to do that for those using PIE apps.
    - Nav bar dimensions (height and width)
    - Here we also automatically reverts CyanogenMod navbar toggle: https://github.com/crdroidandroid/android_frameworks_base/commit/b70cda7d0d9b5142f54d390275b5e2ffa64ae9b4

    PS: THIS COMMIT IS A SQUASHED PORTED FROM crDroid KK and 99% od the codes are from SlimRoms. I want to say a HUGE thanks to @kufikugel

Conflicts:
	packages/SettingsProvider/res/values/defaults.xml
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java

Conflicts:
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java

Change-Id: I40573c0b78d1d72bb5fd0d129472af62e1adc987

Conflicts:
	packages/SettingsProvider/res/values/defaults.xml
	packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
	services/core/java/com/android/server/wm/WindowManagerService.java
[Base] HW keys tweaks

Conflicts:
	core/res/res/values/bliss_config.xml
	core/res/res/values/cr_symbols.xml
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java

Change-Id: I3539e4c1b7f4754fb0efc48d9664c121f5bd4939

Conflicts:
	core/res/res/values/bliss_config.xml
	core/res/res/values/bliss_symbols.xml
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
	services/core/java/com/android/server/wm/WindowManagerService.java
Fix memory leak in system_server when screen on/off

Change-Id: I3ed7be519fc9301dd45d162773a6d0d62de12d76
[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

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
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