Merge branch 'kitkat' of github.com:AOKP/frameworks_base into kitkat
Revert "Lockscreen Notifications [1/2]"

This reverts commit 05281abc50ba79579c3bf73310e6aa882f2b27ac.
Statusbar: Allow circle battery to participate in lights out mode

Change-Id: I6b8c27c2184abedd9582d22acd9128d02ae451f4
Signed-off-by: kecinzer <kecinzer@gmail.com>
Merge branch 'kitkat' of github.com:AOKP/frameworks_base into HEAD
Merge branch 'kitkat' of https://github.com/task650/frameworks_base into testing
[1/2] Base: implement App circle sidebar

add whitelist app to include into circle view
rebased
make standalone patch

PS.15 : rebased

Change-Id: I08d2a3a7e0f8df20e801e585d4cac8547a740a3e
Base: Floating window with multitasking

basic floating window are taken from AOSPA (HALO) by @D4rKn3sSyS

with heavy change to get this work for multitasking

this feature, has ability to:
1. Moveable window to various position
2. Scaling window with 2 finger like zoom in/out
3. Double tap in actionbar or above window to fullscreen or back to floating window
4. Automatically resize when Snapping into one of side (Top, Bottom, Left, Right)
   (taken from xhalofloatingwindow by @zst123)
5. Automatically switch focus from other app (taken from multiwindow by @xplodwild)
6. Unlimited floating window app (depends on RAM)

this is still under testing, to make fully works
so if there any bug because of this, DO NOT REPORT INTO OMNIROM JIRA

to make app launch using Floating window feature

you must add Intent.FLAG_FLOATING_WINDOW
before start an activity

for example you can look at https://gerrit.omnirom.org/6515

need https://gerrit.omnirom.org/#/c/6561

PS.17 : fix scaling
PS.18 : fix layout calculation when rotate

Change-Id: Iad00c239de7d66e8bb45205ce626d4f08417b7cd

Conflicts:
	core/java/android/content/Intent.java
	core/res/res/values/custom_strings.xml
	services/java/com/android/server/wm/WindowManagerService.java
SystemUI: Fix missing top task in recent panel

If preloadRecentTasksList was not called or was called too
late and RecentsActivty already started and last top activity has
excludeFromRecents flag setted it might be missing
from recent application list.

atken from cm11

Change-Id: Ia04913e7a89d51689f933cbc9ff3a84092fdb1cf