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>
Frameworks: PT-BR Translations

Change-Id: I56687fb4aa28385eb57908a21c6ac29a48caee33
p2p: Display P2P peer MAC address if device name is empty.

Display MAC address of a P2P peer in an invitation prompt
message on receiving invitation request from the P2P peer
with empty device name.

Change-Id: Icabeb91d666437746eb5a733ec582849eb7295a5
CRs-Fixed: 506109
Make the lock screen camera widget configurable (1/2)

Change-Id: Ia349c39937a56ee53c2c8ec2441d71ad081572e3
Add touch feedback to the clear all recents button

5 minutes of Photoshop™.

Change-Id: Idf8c97cf08a192605208cbee6f2ae41e0798e8d1
Fix touch feedback and areas for status bar date & time actions

Occupy the entire height for 48dp touch targets and better touch
background appearance. Remove the redundant background and click action
from the containing layout.

Change-Id: If343e6eb429a7fef38a23c1c9a46c75a95e50ed6
SystemUI: NL translations

Change-Id: I850e4d41c1d671bbdbbabadc90a5f4ed53fefdda
framework/base: IT translations

Change-Id: I26ab7f41d8458e3caab9f8b823a9fb7df709be22
Limit QC camera features to post-ICS HALs

ICS blobs don't support longshot, and have a different API/method enum
for histograms

Change-Id: I6704b9302344ae2ae6386312b68de669bb5c11f2
SystemUI: apply alpha value to all layouts.

Change-Id: I27d5a69eac50053ca34679bf7f6aed821245e132
Merge "Fix touch feedback and areas for status bar date & time actions" into cm-11.0
WifiController: fix high perf lock sometimes not respected

When the device screen is turned off, the state is DeviceActive for
15 minutes. In this time, high perf lock is not respected and
Wi-Fi power-saving mode will be turned on because screen is off.

Fix by adding a new DeviceActiveHighPerfState.

Change-Id: I71074beec4d41286dea0861107d7931da205aca2
JIRA: CYAN-2860
AppOps: track op persistence by name instead of id

On XML write, include the op name.  On XML read, map
the name back to op id (if it exists).

Persistent AppOp state now follows the op name instead
numeric id.  This allows upgrades between versions of
android that have different code<>name mappings.

Change-Id: Iffc02095b6838a34ff999f8db51c2c6739dd0db8
frameworks/base: remove some duplicate ringtones/notification sounds

PS2: Start mk file cleanup
PS3: Remove empty mk files
PS4: Remove more dupes and unused audio

Change-Id: I7a091218e41b3cf7eea9738d9ea569d9cb3ee91d
SystemUI: fix SearchPanel gesture in landscape mode.

Change-Id: I8f98b30e9f66f1ae96c85363a8a4af679e1173d6
Merge "Add touch feedback to the clear all recents button" into cm-11.0
Merge "SystemUI: apply alpha value to all layouts." into cm-11.0
screenshot: quick delete action

Add option to delete screenshot from notification

Change-Id: I0f153bc3c72b902163b4ae75e220ddb09e3fcb11
Merge "SystemUI: NL translations" into cm-11.0
Merge "framework/base: IT translations" into cm-11.0