Revert "Halo: Fix possible NPE"

This reverts commit 16185e844448e3b110d953d11aa7f0fdfb05338c.
Revert "Halo: Some Tweaks"

This reverts commit 1b99725363ca47b0bbc37aee599d2430f6e79121.

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/notification/NotificationHelper.java
Revert "Halo: Modify behavior"

This reverts commit 293a2f2d2be0aa5e7cb31eecc623118a7c229c6c.
Revert "HALO: make windows moveable and scaleable [WIP]"

This reverts commit 92f74c0d78f4f2b859ce093c11a3f22d570ebceb.

Conflicts:
	core/java/android/app/Activity.java
Revert "Fix halo button in statusbar"

This reverts commit 152d64179451b2da71bec481f6df153df7bf6c91.
Revert "HALO: update halo resources on status bar recreation."

This reverts commit 72367db1be63b05d84cf38e1424c63c117e57afb.
Revert "HALO: change holo blue to holo grey matching new drawables"

This reverts commit bfc267729b9a7c2f30755f0b5bf2cfd0cec2dafe.
Revert "New Halo drawables thanks to Arz Bhatia and PA team"

This reverts commit 0eb93a347c78118b3159c177ed4e63b535c08841.
Revert "[2/2] Frameworks: Halo Color"

This reverts commit 6791b8b1daad1e463b76fb7f2e4e12b3806a1a49.

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
Revert "[2/2] Frameworks: HALO"

This reverts commit 4158c84604e6c14c842f434cca4601edc0a94470.

Conflicts:
	core/java/android/app/Activity.java
	core/java/android/app/ActivityThread.java
	core/java/android/app/INotificationManager.aidl
	core/java/android/app/TaskStackBuilder.java
	core/java/android/content/Intent.java
	core/java/android/provider/Settings.java
	core/java/android/view/Window.java
	core/java/com/android/internal/widget/ActionBarView.java
	packages/SystemUI/res/layout/status_bar_expanded_header.xml
	packages/SystemUI/res/values-land/dimens.xml
	packages/SystemUI/res/values/liquid_dimens.xml
	packages/SystemUI/res/values/liquid_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/tv/TvStatusBar.java
	services/input/InputWindow.cpp
	services/java/com/android/server/NotificationManagerService.java
	services/java/com/android/server/am/ActivityRecord.java
	services/java/com/android/server/am/ActivityStack.java
[2/2] Frameworks: HALO

Forward port from jb.
PS1: Initial port
     Fix conficts with notification LED
     Fix derp
     Major derp
     HALO Mods
     Rebase
     Fix blackist, code clean and added some TODOs
PS2: Fix build
PS3: Fix bubble sometimes doesn't respond on new notification
PS4: Align halo icon

Change-Id: I3e79945433d61da090ca263f4e2989be9987f11d

Conflicts:
	core/java/android/app/INotificationManager.aidl
	core/java/android/app/Profile.aidl
	core/java/android/provider/Settings.java
	packages/SystemUI/AndroidManifest.xml
	packages/SystemUI/res/layout/status_bar_expanded_header.xml
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	services/java/com/android/server/NotificationManagerService.java
	services/java/com/android/server/am/ActivityStack.java

Conflicts:
	core/java/android/app/Activity.java
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	services/java/com/android/server/NotificationManagerService.java

Conflicts:
	core/java/android/app/Activity.java
	core/java/android/app/INotificationManager.aidl
	core/java/android/provider/Settings.java
	packages/SystemUI/AndroidManifest.xml
	packages/SystemUI/res/layout/status_bar_expanded_header.xml
	packages/SystemUI/res/values-land/dimens.xml
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	services/java/com/android/server/NotificationManagerService.java
	services/java/com/android/server/am/ActivityRecord.java
	services/java/com/android/server/am/ActivityStack.java
Fit HALO in CyanogenMod custom battery implementation

Change-Id: I61892219a4bdeba7ada932d1247b3bcefef5ff57

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/policy/BatteryController.java
add halo master switch

Change-Id: Ifeb9b4e3ae6ada7d3a4acc9b790cc6508050839d

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
Multi-window support

Change-Id: Ie5860c2105ad9c971157b41d65f8fab337461ef6

Conflicts:
	core/java/android/app/Activity.java
	core/java/android/app/IActivityManager.java
	core/java/android/inputmethodservice/InputMethodService.java
	core/java/android/view/IWindowManager.aidl
	packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java
	services/java/com/android/server/am/ActivityManagerService.java
	services/java/com/android/server/am/ActivityStack.java
	services/java/com/android/server/wm/WindowManagerService.java
prevent multiwindow if halo enabled
please multiwindow stay out if HALO there !! , but we will leave you in activity

Change-Id: Ie9ca36b6c7647ff9c6f038986b107f3623d8726c

Conflicts:
	core/java/android/inputmethodservice/InputMethodService.java
	packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java
	services/java/com/android/server/am/ActivityStack.java
HALO notification should open in floating window mode

Change-Id: I9625bb505c78b361fcb618c7a3b23105568b8d5c
PS1: If HALO is activated all HALO notifications will open in floating window mode. If HALO is not activated notifications will open in mutiwimdow mode.
PS2: If HALO is activated "add to split view" in the recent application list will not be shown.

Conflicts:
	core/java/android/app/Activity.java
	core/java/android/inputmethodservice/InputMethodService.java
mutliwindow: notify split view if layout changed

Change-Id: I793b6d3dd05a5d1bbea178e646a1c6f14dec35c3

Conflicts:
	core/java/android/app/ActivityManagerNative.java
mutliwindow: notify split view if layout changed [2/2]

Change-Id: I2bbdd58dcf89cd70aa01a4c2bfc06641508f632c
HALO: make windows moveable and scaleable

authored by David96

Change-Id: I65c6a5ed5e5f7df0c7fa7f8ee6a1bd3246a6130b
multiwindow: Fix NullPointerException

Change-Id: I5c423bcde7d191331be53ce180f827e7023dc472