Frameworks: Option to enable/disable VOLUME rocker wake
Frameworks: add abillity to use quick settings pulldown on the left side

This commit gives the ability to use quick settings pulldown on the left
or right edge of the statusbar. As well this respects still RTL layouts
where it logically should change to the oposite side.

Change-Id: Ibdf0894347e1ed3871f685afd5a29f47efe23a4b

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
Revert "Dont force black color"

This reverts commit 05ef4201bc70a6f399f056b5f79ad8257ef3e218.
Merge tag 'android-5.0.1_r1' into HEAD

Android 5.0.1 release 1

Change-Id: Id44d5168fc8a77c4a30a86729c7fd7194e97bc1b
SystemUI: improve brightness slider behavior

Mimic the brightness slider behavior in the statusbar.
This adds logic to make the statusbar slider also work with automatic
brightness mode enabled and it will instead adjust the temporary automatic
brightness overrride.

Change-Id: I78814a785decc83df94844fcc2f489c8cbec2b65
Signed-off-by: Roman Birg <roman@cyngn.com>
[2/2] AppOps: Add alarm wakeup op

Port from cm-10.2 / cm-11.0

Author: Sam Mortimer <sam@mortimer.me.uk>
Date:   Fri Sep 27 21:30:34 2013 -0700
[2/2] AppOps: Add alarm wakeup op
When alarm wakeups are denied/ignored,
the alarm types are remapped as follows:
RTC_WAKEUP -> RTC
ELAPSED_REALTIME_WAKEUP -> ELAPSED_REALTIME
Change-Id: I3a5023e1f6260004319290e776bdb2daf73e9fdf

Author: Ricardo Cerqueira <cyanogenmod@cerqueira.org>
Date:   Thu May 22 19:54:01 2014 +0100
AppOps: Don't apply OP_ALARM_WAKEUP to system components
System can freely invoke and manage alarms. Preventing it from doing
so interferes with remote components like the backupmanager (backing up alarms)
due to the mismatched uids between the invoking app and the running
service that takes the action.
Change-Id: I079df8d2522642d6d9194781207df7dd67b715b2

Change-Id: I399a7f0d0b20c562b94ec978976d5d8ebff12eac

Patchset: 1
http://review.cyanogenmod.org/#/c/80210/
[2/2] Framework AppOps: Add per Op allowed and ignored counters

Port from cm-10.2 and cm-11.0

Author: Sam Mortimer <sam@mortimer.me.uk>
Date:   Wed Oct 2 22:06:42 2013 -0700
[2/2] AppOps: Add per Op allowed and ignored counters
Change-Id: Ifb3d25e17dbab082b816a0a655b4796a83af336b

Change-Id: Ifb3d25e17dbab082b816a0a655b4796a83af336b

Patchset: 2
http://review.cyanogenmod.org/#/c/79395/
Revert "Frameworks: Option to enable/disable VOLUME rocker wake"

Will relook at this further later

This reverts commit 4f085963f983c9d8513b29e843b1469b27df7d72.
Profiles: Add a profile picker activity

Patchset 2: Add CM Copyright
Patchset 3+4: Rebase
Patchset 5: Some optimizations

Change-Id: Ic8281e4c6fef6d2f4c56fc01acfe6e54b4c8f51c
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Revert "Navigation bar custom height"

This reverts commit 36e5064a9d1f9353568d0ee2811bafee7b2ce74d.

Conflicts:
	core/java/android/provider/Settings.java
[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
util helper housekeeping
Frameworks: Do not allow to access quick settings on secure lockscreen - option (1/2)

    We have a lot security guys as user due of using the phones as business phones...that
    said a lot complains go into the direction of google how it is possible to have
    access to quick settings on a secure lockscreen which is absolutely understandable
    due that you are able to control Wifi BT AirplaneMode data etc.

    This patch takes care on this problem and adds an option to control this behaviour.

    ATTENTION: Due that this is really an UX derp for an average user this feature is
    enabled by default now. User need to disable it explicit in settings to get on secure
    locksreen the original android behaviour back.

    PS2:
    - fix derp
Match config.xml overrides with vendor overlay and vice versa
Enable Notification Ticker

Signed-off-by: CallMeAldy <aldrin.holmes20@gmail.com>
Return: Smart Pulldown [1/2]

Adds the ability to directly open the QS panel when there are
no notifications present in the notification panel.
This commit combines the enhancement by HardCorePawn for detectin
notification types for the same.

Credits: kufikugel, HardCorePawn

PS 2-4 : Cleanup

Adapted to LP

Added Jubakubas commit

SystemUI: Smart Pull-Down - Any Notification (1/2)

PS
- fixed logic to go inline with all mode in settings - should be fixed on kk as well

Change-Id: I3c9b048f2616d2b8950930cc5bfac27c2364e826

Conflicts:
	core/java/android/provider/Settings.java
SystemUI: Reduce activation area a bit of quick pulldown

Change-Id: I06b3a50982930491c6fd4e70ceda3b1ceee28f87
Revert "Speed up a few animations"

This reverts commit 01ac82090b2795c1a03808e7b586e883bb59c8dd.
Frameworks: Speed up orientation rotation
Speed Up Windows Orientation

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>