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
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
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
Merge branch 'cm' into HEAD
Frameworks: Gesture Lockscreen (1/2)

This adds the ability to us a hand drawn gesture as
a means to unlock the device.

In the case that the gesture is forgotton or not
being recognized correctly, the fallback will be the
same as when using patterns.

Androidx:
Some changes needed for 5.0

Conflicts:
	core/java/android/provider/Settings.java
	core/java/com/android/internal/widget/ILockSettings.aidl
	core/java/com/android/internal/widget/LockPatternUtils.java
	packages/Keyguard/res/values/strings.xml
	packages/Keyguard/src/com/android/keyguard/KeyguardHostView.java
	services/java/com/android/server/DevicePolicyManagerService.java
	services/java/com/android/server/LockSettingsService.java

Conflicts:
	core/java/com/android/internal/widget/LockPatternUtils.java

Change-Id: Ia54282682372394793ec019380cc7f09fcefa7f9
Gesture panel [2/2]

This adds a gesture panel to launch custom actions. The panel can be
opened from the navbar or quicksettings panel. Hardware key binding
support will be added next

Squashed commit of the following:

commit 4eaea27979e49709ff09c216389a71fd0ef1a711
Author: PrimeDirective <activethrasher00@gmail.com>
Date:   Thu Aug 28 22:31:56 2014 -0400

    clean up styling.. fix button to go to settings

    Change-Id: Icf8e16d9439b5698bd4b48c4ced5977ef184e84f

commit 2bdf61dc577e689fc60ca2b061acd0b20681ef2f
Author: PrimeDirective <activethrasher00@gmail.com>
Date:   Wed Aug 27 16:37:49 2014 -0400

    fix merge fail

    Change-Id: Ia5ab13b0a0574f625db06fd2b9c427b6301563d6

commit d196724a462fe39b0b80760c82c22e93552027ae
Author: PrimeDirective <activethrasher00@gmail.com>
Date:   Tue Aug 26 18:29:01 2014 -0400

    QS: add Gesture panel tile

    PS2: drawables

    Change-Id: I5efd488a131bd7944bff61e8477f68d0eb7d5850

commit 90450e090e093d9db36dc528431e838fd96fca70
Author: PrimeDirective <activethrasher00@gmail.com>
Date:   Sun Aug 24 02:25:45 2014 -0400

    Navbar: gesture actions key

    opens a gesture receiver panel to launch user set actions

    to do: add a QS tile, possibly move to vanir actions, add hardware key support.

    Change-Id: I3e9d9fcbf12549c198e9e2bfbc98d34fb0c0da6a

    Conflicts:
    	core/java/com/android/internal/util/aokp/AwesomeAction.java

Conflicts:
	core/java/android/content/Intent.java
	core/java/com/android/internal/util/aokp/AwesomeAction.java
	core/java/com/android/internal/util/aokp/AwesomeConstants.java
	core/java/com/android/internal/util/cm/QSConstants.java
	core/res/res/values/vanir_strings.xml
	core/res/res/values/vanir_symbols.xml
	packages/SystemUI/res/values/cm_strings.xml
	packages/SystemUI/res/values/vanir_colors.xml
	packages/SystemUI/res/values/vanir_dimens.xml
	packages/SystemUI/res/values/vanir_strings.xml
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsController.java

Conflicts:
	core/java/android/provider/Settings.java
	core/res/res/values/config.xml
	core/res/res/values/custom_strings.xml
	core/res/res/values/custom_symbols.xml
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java

Change-Id: Ibdb91ba7ceb1a4d538e9153834058cf00275836f

GesturePanel: fix a malformed .9.png

a malformed .9.png was breaking the build for hdpi devices

Change-Id: I99ef21b4b41b657a62cfd58a6cb2c68a79c89af1
Merge remote-tracking branch 'vanir/L5' into HEAD

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java

Change-Id: I23ce565f77ec2e49d244656b14770aefb318cd16
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