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
unlcok google play

Change-Id: Id616e1f5e90aacaa6a8708958ca6325490fe83ba
ajust navbar/statusbar size

Change-Id: Ied183c698aa37ede93b6466ca6fdc49fb7893d80
move clear all buttom to bottom left

Change-Id: I21014f7c9d0d5bdd6659a6092e6605a78236c320
WIP: enable volume rocker music control when keyguard is active

Change-Id: I796c3e8d4d9095f1a869265f18d28a41fe41bf85
Revert "WIP: enable volume rocker music control when keyguard is active"

This reverts commit 95e715a8894111b25443ca6fc327e2318fd9bb09.
add navbar power button

Change-Id: I50ca19dd00d553761e0ebf737b170326f8b09e49
auto expanded desktop (framework)

Change-Id: Ifcb2b2a4813c557b5abacaca9992b0455495109f
Decrease auto rotation settle time

Change-Id: Ieb93358923a426433b41d511e11a7c22c68afeb8
Change choose activity behavior

Single click to run just once, long clock to always use.

Change-Id: I1db4b65084d3c2dded0f014e95db90c9cf1cdec1
Remove 'Complete action using' title

Change-Id: I357a775890bced9fae3bdb4edd0d20cd3633ddbc
Do not check captive portal in mobile network

Change-Id: I1686e08c387110d6c542ef6466b223e779802bc4
HALO (1/2)

HALO is Androids one and only multitasking solution.

We explicitly do not go the Samsung/Cornerstone route. This solution is basically an extension of
the regular notificationshade, which is an aggregator for notifications that can be checked out when
time permits. HALO completes it by allowing you to respond to tasks on the spot, trying to be as
unintrusive as possible and flexible in regards to policies (white/black lists).

Features:

- Apps open up in floating state, apps underneath do not pause
- complete SystemUI & Core integration, making HALO feel like a native feature, source/SDK and UI/UX
- HALO has white and blacklists, which for now allow fine control for apps pinging through HALO
- multiple gestures to navigate HALO:
  - double-tap-move: move
  - tap-drag-left/right: task through notifications, finger up launches
  - tap-drag-up: dismiss notification
  - tap-drag-down: put HALO into semi-hidden state
  - swipe while HALO is hidden wakes it up
  - drag-to-X to remove HALO altogether
- comes with as few settings as possible, everything should be self explanatory and intutive,
  users must be informed about the double-tap gestures which is the only catch.

Known issues:

- Integration has been finished for PhoneUI. TabletUI and PIE must be integrated still.
- Packageinstaller must allow HALO through its overlay check or it will disable the install-app button.
- The low level has a few remaining issues:
  - Some apps still go up fullscale (they trick us with services, circumventing the intent flagging)
  - Some 3D games still pause
  - There is one known app that refuses to end on back or touch-outside, that is WeChat
  - The activitystack pause implementation works but is makeshift

To-Do:

- On-screen tutorial at first start up to teach users the gestures
- Fixing all known issues, full integration in the remaining UI's
- Perhaps hybrid engine integration for running floating apps in a decreased size

Merge branch 'multiwindow' into jellybean

Conflicts:
	core/java/android/app/Activity.java
	core/java/android/provider/Settings.java
	packages/SystemUI/AndroidManifest.xml
	packages/SystemUI/res/values-land/dimens.xml
	packages/SystemUI/res/values/dimens.xml
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/view/PieStatusPanel.java

Change-Id: Ia00cdbe8efb3bf5a6c874dc7e581d3a2982a1f90

Conflicts:
	packages/SystemUI/res/values/dimens.xml
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java