Give floating flag to previous activities in the stack

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

Change-Id: I4492f29a53221a9c0c9510f4c2916f6535cf1c73
Frameworks: speed up statubar/notification drawer

a lot user complain about slow statusbar pull down introduced
with jb 4.2....this speed it up

thanks to IceColdJelly

Change-Id: Iae108f5680b25ea995168a505a30e06bef0185d3
Profiles: Fix turning bluetooth on/off when its in intermediate state

Change-Id: I09213c987580f47a6c3618edb469edabda96230c
New notification sound(my fav)

Change-Id: I63ad8646ee002cdd0337916493b8f066c4946cd5
Ability to move clear all button to the left or right side

Change-Id: I96f771281c70c035fb3800c82b756724f9419616
Enable power widget toggle colors/bars

Change-Id: I0f08302f3cc0958df410edc746a646490191f293
Halo style enhancements

Change-Id: I8239f4c78b78e69f0e5392c6e6676e125349935f
Use sticky broadcast to convey torch state (1/2).

It doesn't really make sense to store the (non-persistent) state of the
torch in a (persistent) setting. As the torch is sending a broadcast
anyway, make that broadcast sticky and use it to convey the state.

Also unify the torch constants (actions, extras, activity names) at a
common place.

Change-Id: If845bef27cc79990794aa748dce18cfea3bac1f5
Add SMS Middleware layer.

Add fix so ordered broadcasts are delivered to system
apps first in the event of a tie. This works around
the issue where terrible apps steal SMS notifications
from the broadcast queue to simply prevent notifications
that could otherwise be removed by a toggle.

Change-Id: I4fff0c584f8fce9c5f2f4fe86a82fe6480c307c7
Signed-off-by: scotthartbti <scott@ubuntu.com>

Conflicts:
	core/res/res/values/cm_strings.xml

Conflicts:
	core/res/res/values/cm_strings.xml

Conflicts:
	core/res/res/values/strings.xml
Use sticky broadcast to convey torch state (1/2).

It doesn't really make sense to store the (non-persistent) state of the
torch in a (persistent) setting. As the torch is sending a broadcast
anyway, make that broadcast sticky and use it to convey the state.

Also unify the torch constants (actions, extras, activity names) at a
common place.

Change-Id: If845bef27cc79990794aa748dce18cfea3bac1f5
Signed-off-by: scotthartbti <scott@ubuntu.com>

Conflicts:
	core/java/android/provider/Settings.java
	policy/src/com/android/internal/policy/impl/keyguard/KeyguardViewManager.java

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/src/com/android/systemui/quicksettings/TorchTile.java
	packages/SystemUI/src/com/android/systemui/statusbar/powerwidget/FlashlightButton.java
	policy/src/com/android/internal/policy/impl/keyguard/KeyguardViewManager.java
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
Signed-off-by: scotthartbti <scott.hart.bti@gmail.com>

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

Conflicts:
	core/java/android/app/ApplicationPackageManager.java
	core/java/android/provider/Settings.java
	core/res/res/values/strings.xml
	core/res/res/values/symbols.xml
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
Add missing @hide annotations for Privacy Guard

Change-Id: I6072ed2d3ac05382f9cabbada0c42cea6cbe2422
Revert "framework: Privacy Guard"

This reverts commit 9da65757c61b689cc9ca2e813fd6832e2f8d20dd.

Conflicts:
	core/java/android/provider/Settings.java
	core/res/AndroidManifest.xml
	core/res/res/values/strings.xml
	test-runner/src/android/test/mock/MockPackageManager.java

Change-Id: I12dc87a27cffdcd5b567ea23a87a27c64b96b497
Revert "Add missing @hide annotations for Privacy Guard"

This reverts commit df87f00a219fbf0bb39fddfc202b25812502d384.

Conflicts:
	core/res/AndroidManifest.xml
	test-runner/src/android/test/mock/MockPackageManager.java

Change-Id: I58cdfbbaec6c50f99de9775dd63e6df1eb6f05d7
Revert "privacy guard: Use LocationBlacklist for location filtering"

This reverts commit 1831ceceead690cfa85befb1dc95aba49d75341c.
Frameworks: Add Permissions Management to AOKP [3/4]

Allows the user to revoke individual permissions on a per app basis.  Adapted from
CM7 commits 949eb057d81da7cd0a79fc1fe9cc9c4d989d1c27 and 4a0a352b36b21d0d22713c232baccca84ce13a2d
to work with 4.2.2

Change-Id: Ibc7be45b88838a2fffaff80514e77702d330de0f
Signed-off-by: Rohan Mathur <rohanmathur34@gmail.com>
Remove privacy guard stuff...for now

Change-Id: I1fc276482c134456b26fc9f353b67638701d166b
Remove stuff we don't need.

Change-Id: I53f2b8c020a43880f07374d82410ae46ac3b8f15