Show as floating window on recent apps

This also removes "hybrid properties" from recents menu, it is fairly unneeded
now. This is a test, It's probable that it will be removed later

Change-Id: I3db3a996fa08367e3dfa4231079fe5e811e3b08a
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
Merge branch 'jellybean' of github.com:ParanoidAndroid/android_frameworks_base into jellybean-legacy
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.
fix: clock/battery alignment bug

Picture (top - before, bottom - after:

http://goo.gl/sRLwM
Merge pull request #30 from Ayysir/jellybean-legacy

fixed: clock/battery alignment bug
Merge branch 'jellybean' of github.com:ParanoidAndroid/android_frameworks_base into jellybean-legacy
Enable Halo pressed image in expanded status bar
Brightness Control on Status Bar (1/2)

Added Support to control the current brightness to the Status Bar.
Revert "Brightness Control on Status Bar (1/2)"

This reverts commit e4047aa4129cfd5f74be4eb6f76fa3dc2105712c.
CM Privacy Guard (1/2)

framework: Privacy Guard

 * Introduce a new privacy feature which allows the user to run an
   application with reduced visibility into his or her personal data.
 * Adds a per-application flag and simple API to determine if this flag
   is enabled for the current or calling process.
 * This flag can be used by content providers to decide if they should
   return a limited/empty dataset.

Change-Id: Id7c54d728e63acb2b02a2a9322930b54949f6c5d

Conflicts:
	core/java/android/provider/Settings.java
	core/res/res/values/cm_strings.xml
	core/res/res/values/symbols.xml

Add missing @hide annotations for Privacy Guard

Change-Id: I6072ed2d3ac05382f9cabbada0c42cea6cbe2422

privacy guard: Use LocationBlacklist for location filtering

 * Google has built a per-package blacklist into the location service.
 * Let's use this to handle Privacy Guard instead of our one-off code
   which has a bunch of edge cases and can leave apps in a weird state.

Change-Id: I2f2ecd0b75ff51b44b1a6035189355d7bd63eaf4
Stylus gestures features (1/2)

Forward-port of https://github.com/CyanogenMod/android_frameworks_base/commit/9f3ee9f7c0877fcfbe90a7c176481f949194fb75
to JB

Change-Id: I9c8a03dce226d2463659846ff3a12435efdf5c1d

Conflicts:
	core/java/android/provider/Settings.java
	core/res/res/values/config.xml
	core/res/res/values/strings.xml
	core/res/res/values/symbols.xml
Fix build with java 7

Change-Id: I48b2048a0cc82df0007ca897aaa8e369bf2d8723
Halo: unregister settings obeservers

Change-Id: I57ec9b874c332bec8be2b3e3ed2505f6be53b79e
gps: Add support for Qualcomm GPS hardware

 * This ABI is changed, but we aren't using the new features in MR1.
 * Add a little translation for the changed fields and methods.

Change-Id: Ieecc2235b42f64fc69d4651855f4e9edfe7d738d