Revert "Merge "Add GlowPadView extensions needed for lockscreen targets
and nav ring." into cm-11.0"

This reverts commit b805d2b59cac1b6a5e447eded67ce169ccf8c3d1.
Re-add CM profiles to Power Menu removed in commit 9a32682ed073216ce8c6fb2e284d0394b283d351

Change-Id: Ief2ab66c8b827bad8c0e613b40ebc73b1a0c2b71
Revert "systemUI: add swipe QS to Notifications and back"

This reverts commit f926ad1a79a68b46cf2bc6824ef0a586167ebeb4.
QuickSettings: Port from cm-10.2 (Squashed commit)

Port quicksettings / ribbon from cm-10.2

Change-Id: I6710a62a82ed274eb9e8c86cd2a1faf657ae53f1

Quick Settings: Swipe to switch

Adds the ability to switch to / from Quick Settings, using a sideways
swipe gesture.

Change-Id: I3cab45f72fe3c5fa40d4631fc6a84ea7bfe51bd1

Improve notification shade auto-collapse code.

- When the user dismisses a notification by swiping, also collapse
  notification shade if there are persistent notifications remaining.
  Only skip collapsing if there are still non-persistent notifications
  pending
- When the notification is removed by the app, wait a bit until
  collapsing the shade so the removal doesn't come as a surprise to the
  user
- Centralize the collapse trigger at one place

Change-Id: I4e5114f66e799a7c80e18b38abce5678da460846

Make notification-shade-collapse-after-dismiss behaviour configurable

Change-Id: I1be0be2753b479e6d2e4fc8e17d971d03ce01bb7

QuickSettings: Update all QS drawables to fit KitKat

- Recolored all drawables according to the new color theme
- Recreated some drawables to be able to include all in xxhdpi
- Remove some unused drawables

Change-Id: Ib5430059f67ff73677821122b8f2037094ba90c5

QuickSettings: Re-add Quick pulldown

Change-Id: I7bad553fe7eb4a3e91af69f811d99b74f7572aa3

Conflicts:
	packages/SystemUI/AndroidManifest.xml
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
keyboard: re-add code to detect lid state

This was lost in the cm-11 merge. Without this, a change in lid state
isn't generated to light up the keyboard backlight

Change-Id: Ief35cebcb62da13afe1ae7531d69ab58e196be9e
Merge "PhoneWindowPolicy: Fix NPE race condition by excessive screen on delay" into cm-11.0
Suspend Actions & Wakelock Blocker (1/3)

Change-Id: Ie63551e0e6f1a1ee5c2e16da441076557512936a
Signed-off-by: Scott <scott@ubuntu>

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/src/com/android/systemui/BootReceiver.java
	services/java/com/android/server/power/PowerManagerService.java
	telephony/java/android/telephony/TelephonyManager.java

Conflicts:
	packages/SystemUI/AndroidManifest.xml
	packages/SystemUI/src/com/android/systemui/BootReceiver.java
fix minor derps from the wakelock blocker

Change-Id: I7d18de0f4056a16dd773a17c934673808b3b4b53
Signed-off-by: Scott <scott@ubuntu>