Fix little derp causing visual bug

To reproduce, disable halo, and press "clear all notifications" button

Change-Id: Ice7ab62229e27db53ef51fd5df55dbcd0a86358b
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.

Change-Id: I4d8708e27439546d359d6ec53e8d95809278a517
Don't bring home to the front if we're opening a floating activity

Change-Id: I27e237757ea04346a943361c20d1eb53746cdecc
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.

Change-Id: If60a777812196e0cbbe41c0535aa37c8a57e710d
QS tiles background mod.[1/2]

Option to set the color of QS background
and the color when pressed.

Change-Id: I8b3b5b1b7efd5ee79608ae7aaddf4d81ef770acd
FW: Statusbar Brightness Corrections

AOKP (ROMControl) statusbar brightness control code fragments still remained in PanelView.java, this was conflicting with the change to CM based brightness control. Removed the final sections remaining from AOKP.

Removed one import from BrightnessTile.java that was not needed.

This should finally resolve the issues regarding Statusbar Brightness control.

Change-Id: Iee98b68406bec9599832790f5826eba035f98b34
QS Tiles: Fix Build

Change-Id: Id5edbc528f68a24d717b1522014ee2cf92b2f4ac
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.

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

Change-Id: Id7c54d728e63acb2b02a2a9322930b54949f6c5d
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>
Bring in CMs real Circle battery && also circle dotted battery [1/2]

also removed the now un-used files && PNGs

Change-Id: Ie1ffeecf226a7f877aacaf1070122f8e5a866b7c
Port OnClick Fliptile animation.[1/2]

credits to: TeamBAMF for the original work.

Change-Id: I27cfd3871e45b8265e16fe15e4f4c1e964a18688
Add volume steps for better precision

Change-Id: I0bf013ab3fa72457050093abcc755d45c5da9731
Add an option to allow a (subtle) notification vibration during calls.

Change-Id: I76c6beda31859c5531046d1567f06b095a8ca4c4
[1/2] Add triggers to change profile based on AP

Add data structure mWifiTriggers to store triggers per profile.
Add network change listener to switch to profile

Change-Id: I97e360d7783d3b0e2bbd70fe7a9a866d8c0fa7cd
Changed profile selection to single-tap action

The behavior taken from reboot (choose action, select okay) was
inappropriate for profile selection, which has no big impact at all.

so now, simply selecting a new profile will toggle the action and close the dialog.

Change-Id: Ia7f8996dcc50ebac4a9639ff0f305ab51a85584d
Add 2G/3G option to profile connections (1/2)

Change-Id: I55d0768c9eeecb7dcce97c6d6390e339d678d0c4
Revert "Add an option to allow a (subtle) notification vibration during calls."

This reverts commit 22cb08ccc9a5c9f1784adce2288d1760cff39d98.

Change-Id: I24d1b09b127057072e84592bb7373da86ed91ca7
Frameworks: privacy guard fix UI freeze

randomly sometimes the complete UI freezes when toggle
privacy guard. Move out the forcekill from syncronized to
fix it so that it kills the app when all threads are open
and they can react to the forcekill which cannot result then in unknown states

cheers

Change-Id: I81514dc5ca9149477ee747a7d90720b83f741baa
FW: Status Bar Brightness Control

Correction of Status Bar Brightness Control Settings update and calculation of correct value, when determining if auto brightness is enabled and if not correctly identifing the user selected setting.

Change-Id: I60dd260039edb7f50541f1f404f10b7ad6e11edd