base: Check for homeAsUp status when collapse actionbar widget

mHomeLayout should be visible if one of DISPLAY_SHOW_HOME or DISPLAY_HOME_AS_UP are set.
collapseItemActionView only checks for DISPLAY_SHOW_HOME, so applications that only uses
DISPLAY_HOME_AS_UP and uses an expandable/collapsible widget (like SearchView) doesn't
properly restore the home layout.
One sample of this behaviour is the DeskClock app. The CitiesActivity doesn't show the homeasup
indicator after collapse the searchview.

aosp change-id: https://android-review.googlesource.com/#/c/71093/

Change-Id: I2f225138771da6bd6b2a468ad616b90c2c0a9d35
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Make the lock screen camera widget configurable (1/2)

Change-Id: Ia349c39937a56ee53c2c8ec2441d71ad081572e3
privacyguard: Share privacy package name between activity stacks

AOSP 4.4 now has a stack supervisor with differents activity stacks for home and focus activities.
Every ActivityStack instance has a ref to this supervisor. Just share the privacy guard package name
throught the supervisor.

Patchset 2: Fix formatting

Change-Id: I5dd75cfa7f5e8b568a4302fce98809ae307c6d52
JIRA: CYAN-2874
Issue: https://jira.cyanogenmod.org/browse/CYAN-2874
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Merge "Make the lock screen camera widget configurable (1/2)" into cm-11.0
Merge "privacyguard: Share privacy package name between activity stacks" into cm-11.0
Merge "base: Check for homeAsUp status when collapse actionbar widget" into cm-11.0
Merge branch 'cm-11.0' of https://github.com/CyanogenMod/android_frameworks_base into CyanogenMod-cm-11.0

Conflicts:
	services/java/com/android/server/am/ActivityStack.java

	modified:   core/java/com/android/internal/widget/ActionBarView.java
	modified:   core/java/com/android/internal/widget/LockPatternUtils.java
	new file:   core/res/res/values-es-rXA/donottranslate-maps.xml
	modified:   core/res/res/values-it/cm_strings.xml
	new file:   core/res/res/values-lt/cm_strings.xml
	modified:   core/res/res/values-lt/strings.xml
	modified:   media/mca/filterpacks/java/android/filterpacks/imageproc/FisheyeFilter.java
	new file:   packages/InputDevices/res/values-lt/cm_strings.xml
	modified:   packages/Keyguard/src/com/android/keyguard/KeyguardHostView.java
	modified:   packages/SystemUI/AndroidManifest.xml
	new file:   packages/SystemUI/res/drawable-hdpi/ic_menu_delete.png
	new file:   packages/SystemUI/res/drawable-hdpi/ic_recents_clear_normal.png
	new file:   packages/SystemUI/res/drawable-hdpi/ic_recents_clear_pressed.png
	new file:   packages/SystemUI/res/drawable-mdpi/ic_menu_delete.png
	new file:   packages/SystemUI/res/drawable-mdpi/ic_recents_clear_normal.png
	new file:   packages/SystemUI/res/drawable-mdpi/ic_recents_clear_pressed.png
	new file:   packages/SystemUI/res/drawable-xhdpi/ic_menu_delete.png
	new file:   packages/SystemUI/res/drawable-xhdpi/ic_recents_clear_normal.png
	new file:   packages/SystemUI/res/drawable-xhdpi/ic_recents_clear_pressed.png
	new file:   packages/SystemUI/res/drawable-xxhdpi/ic_menu_delete.png
	new file:   packages/SystemUI/res/drawable-xxhdpi/ic_recents_clear_normal.png
	new file:   packages/SystemUI/res/drawable-xxhdpi/ic_recents_clear_pressed.png
	new file:   packages/SystemUI/res/drawable/ic_recents_clear.xml
	modified:   packages/SystemUI/res/layout-land/status_bar_recent_panel.xml
	modified:   packages/SystemUI/res/layout/status_bar_recent_panel.xml
	modified:   packages/SystemUI/res/values-es/cm_strings.xml
	modified:   packages/SystemUI/res/values-it/cm_strings.xml
	new file:   packages/SystemUI/res/values-lt/cm_strings.xml
	modified:   packages/SystemUI/res/values-nl/cm_strings.xml
	modified:   packages/SystemUI/res/values-pt/cm_strings.xml
	modified:   packages/SystemUI/res/values/cm_strings.xml
	new file:   packages/SystemUI/src/com/android/systemui/screenshot/DeleteScreenshot.java
	modified:   packages/SystemUI/src/com/android/systemui/screenshot/GlobalScreenshot.java
	modified:   packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarTransitions.java
	modified:   packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java
	modified:   services/java/com/android/server/am/ActivityManagerService.java
	modified:   services/java/com/android/server/am/ActivityStack.java
	modified:   services/java/com/android/server/am/ActivityStackSupervisor.java
	modified:   services/java/com/android/server/net/NetworkPolicyManagerService.java
	modified:   wifi/java/android/net/wifi/WifiStateMachine.java
Merge branch 'cm-11.0' of https://github.com/cr3pt/android_frameworks_base into cm-11.0