ParanoidAndroid/android_frameworks_base — pull request #37 by linuxman94 (2013-06-27 01:14:56+00:00)
Title: CM Privacy Guard (1/2)

Add CM's new privacy guard feature to PA.

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