Automatic translation import

Change-Id: Ie73ec7956594b8a5892507e3c6b49aa5748a23aa
Revert "Base: App Circle sidebar (add support Samsung multiwindow flags)"

This reverts commit e20625dc7b234edc71b224388ffb17674feb33d9.
Revert "Base: App Circle sidebar (add support floating window)"

This reverts commit 96afb2d014d788a862006de66916904dc53e99fb.
Revert "[1/2] Base: implement App circle sidebar"

This reverts commit 5c11894f801d901ef0eefc7d812f93b337ebee71.

Conflicts:
	core/java/android/provider/Settings.java
Reduce memory leaks by removing all views.

Change-Id: I1c7d3647ae0d40aa214108ea22e007e3cb3191b9

Patchset: 3
http://review.cyanogenmod.org/#/c/63034/

Comments from Clark:

The results from people trying out this patch are very positive
and we may want to go ahead and merge this in for the time being.
A better solution can always be implemented later on but if this
is reducing the possibility of memory leaks in SystemUI then I
say we merge this ASAP.
Make KeyguardMultiUserAvatar fully themeable

Create the animation color for the username text based on the final
color.

Change-Id: I4b1beb70160e178264c32f3b33c6c0c7c51f70c5
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
CM11 Themes: Use package name from AndroidManifest

It is possible for an apk to have a different package
name for the resources than what is defined in the
AndroidManifest.xml of the apk.  Using the resource's
package name for the base package name causes themed
resources to not be properly loaded.

Instead of returning the resource package name we return
the apps package name from AssetManager.

A good example of this is Trebuchet.  The system sees
it as com.cyanogenmod.trebuchet but it's resources use
com.android.launcher3.

Change-Id: Id57e68b27b3c7509e3358a7fd12ae73a03dd6cdf
wm: Underp menu key release processing

Change Iacfedf711d43f6637023c87c00e6c6b8b8a437dc made key release perform
the assigned action regardless of alternate modes, but the keypress
processing depended on said modes. Make it consistent.

Change-Id: I4be44b065f775f0304aa9770778c8fee82ef8ef1
Revert "Reduce memory leaks by removing all views."

This reverts commit a61cab784f2560d972a1c30554a697d04993c57b.

This is causing BT icon to get caught up in "all views" removal. Backing this out until Clark can look into it.

Change-Id: Ied8f45f035492ee351e6b24fa0ae88c2abfbf9ea
Revert "Revert "Kill floating activities running in the same thread when tapping outside""

This reverts commit 820dbeb79be03c33794eb3e45fd2f76751b08d8b.
Revert "Slim Recents: (add support for floating window)"

This reverts commit a4e2320dec197e9a8a89f528023447729723696c.
Reduce memory leaks by removing all views.

Change-Id: I64b95981425840d101c8122421281976d0251bae
SystemUI: Make wifi combo margin themable

Change-Id: Ie77b13cee84d5b472f878dba6388f3e168f5a249
Themes: Add read/write permissions [1/2]

Change-Id: Id9710a7f6058454f563488288220744b02cc4850

Conflicts:
	core/res/AndroidManifest.xml
Revert "wm: Underp menu key release processing"

This reverts commit a5602a7ba083fa80705aa9eb76e87522bea53aee.
Revert "wm: Make the default menu longpress action configurable at build time"

This reverts commit 404d228329670df624e28410345f07e4c984db3b.
Merge branch 'cm-11.0' of https://github.com/temasek/android_frameworks_base into HEAD

Conflicts:
	core/java/android/provider/Settings.java
	include/androidfw/AssetManager.h
	libs/androidfw/AssetManager.cpp
	packages/SystemUI/res/values/cr_strings.xml
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java

Change-Id: Ieb70b16893c9c2d0989bb79ddabac94f06c26fe9
Revert "Revert "Slim Recents: (add support for floating window)""

This reverts commit 1386267aa17a73a88f3dc7fe2ccfc1be3cc94eaa.
Fix soft reboot using power menu through tile, navring and recent long press

- Using slim roms idea of this commit: https://github.com/SlimRoms/frameworks_base/commit/2d7b1afb903858bf26ac98dc9de64924a5ce9a05 and calling all power menu actions from the same thread

Change-Id: Ie4768a1722a41164474ef300f4a1b67c535349f6

Conflicts:
	core/java/android/view/IWindowManager.aidl
	core/java/com/android/internal/statusbar/IStatusBar.aidl
	core/java/com/android/internal/util/cm/QSConstants.java
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/CommandQueue.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsController.java
framework: Add compass tile (1/2)

Add a compass tile to quick settings.
Clicking on it enables the sensor and clicking again disables it.

Screenshot: http://goo.gl/2frdpy

Change-Id: Icd9d12929f0491f6958f30de139ef39bb4c2e037

Conflicts:
	core/java/com/android/internal/util/cm/QSConstants.java
	packages/SystemUI/res/values/cm_strings.xml
	packages/SystemUI/src/com/android/systemui/quicksettings/CompassTile.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsController.java