Fix multi-user behaviour for system UI settings (1/2)

Change-Id: I0e434b989c16f5871ce56c7e3041ff3c7a436c73
Make navigation bar ready for per-user configuration.

Also clean it up a bit.

Change-Id: Ic10bd161fce53bf30048a0cb927dcf1e2bfa7774
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
Profiles: Fix turning bluetooth on/off when its in intermediate state

Change-Id: I09213c987580f47a6c3618edb469edabda96230c
Merge "Profiles: Fix turning bluetooth on/off when its in intermediate state" into cm-10.1
Merge "Fix multi-user behaviour for system UI settings (1/2)" into cm-10.1
Merge "Make navigation bar ready for per-user configuration." into cm-10.1
Add missing @hide annotations for Privacy Guard

Change-Id: I6072ed2d3ac05382f9cabbada0c42cea6cbe2422
Navbar : Reverse order in landscape

Reverse the order of buttons in landscape
Also fixes force close when editing in landscape

Change-Id: I570bb20df3ec7c6d7430d66c6ce74b6c740b1552
Merge "Navbar : Reverse order in landscape" into cm-10.1
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>
Pie controls: Fix multi-user handling

This commit adds multi user support for pie controls:
* React on user changes
* Respect per user expanded desktop settings

Change-Id: I513b00f2745f309bf21b971f96276da40003b224
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
Merge "Profiles: Add a profile picker activity" into cm-10.1
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
frameworks_base_core: ES translations

- PrivacyGuard

Change-Id: I6fb7d2e1d7a57aad7b61d604338951b8815593b4
Core: RU translation

Change-Id: Id7b44683c7fc89397ae743ce15f8825947dec43b

Patch Set 3: Update translation

Change-Id: Ie981063b48586f0cedca75e3b9febb7ac3a22712

Patch Set 4: Update translation

Change-Id: I8cb9d98411bf729b3306daa4a13c34913e00ee01
Frameworks_base: PT-BR update translations

Change-Id: Iab2280d2d5acdc8eb17b5c12c804289debf4d955
Merge remote-tracking branch 'upstream/cm-10.1' into cm-10.1

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/NavbarEditor.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyButtonView.java