Halo: Add master switch to disable Halo (1/2)
-Port master switch from @Der-Schubi.
-Fixed Halo not showed at first notifiction pulldown.
Don't bring home to the front if we're opening a floating activity
NotificationManagerService: Fix up notification LED behaviour
- This should fix the notification LED for Phone and Mms apps (that were
  not using the FLAG_FORCE_LED_SCREEN_OFF introduced by CM cause we use
  our google based ones). Is removed with this one.

maniac103:
- This change also makes the assignment of the LED when multiple pending
  notifications want to use the LED more clear: The notification with
  highest priority gets the LED. If multiple notifications with same
  priority exist, the most recent one gets the LED.
Fix derp observer

If per app color is disabled, pie gravity ain't work?

Change-Id: Ia1c1cfc23b521863db7993cad2581b38ea011f0a
Revert "Halo: Add master switch to disable Halo (1/2)"

This reverts commit 9d667ed47bf48cec26e8aa3598b0b4d6f600ef2b.

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java

Change-Id: Ibb9a832f827f3968e42e30647cbd59c755c00b65
Small cleanup
Give floating flag to previous activities in the stack
When launching stacked activities, only the last one is flagged as floating in sysui when tapping halo.
This causes the system to show the launcher when the first stacked activity is launched (this first intent gets the flag FLAG_ACTIVITY_TASK_ON_HOME
in TaskStackBuilder).
This change makes all the stacked activities get the floating flag if the last one has it.
Merge remote-tracking branch 'pa/jellybean' into jellybean-legacy