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>
QuietHours: disable volume change tone during quiet hours

* Its quiet time, you're trying to be quiet, why would the volume
  change make noise when you're being quiet?
* Turn this off when system sounds are disabled during quiet hours

Change-Id: I6c7eb9d52f5dab9349bf2b8f72ddcb0ab45834fa
Port: Don't show phone unlock targets for devices without voice (1/2)

Add a separate list of default lockscreen unlock targets for devices
without voice capability.

http://review.cyanogenmod.org/#/c/52965/1

Change-Id: I2e9aa953bf9aeee4c492ae7514bedd9db408863b
Frameworks: PT-BR Translations

Change-Id: Idd00c8ea03af64b19624bb331987f2ac08c595c8
Frameworks: PT-BR Translations

Change-Id: I56687fb4aa28385eb57908a21c6ac29a48caee33
SystemUI: Add double tap to sleep gesture

Change-Id: I4c54718e8ec8774677d13917b3a7ffa3b4b18cb5
Revert "Telephony: Add data rat constant"

See http://review.cyanogenmod.org/#/c/55832/ for reasons.

This reverts commit 60f79613897f74cacceafad7bcd7260fe25bb1e5.

Change-Id: I7eea322dec1cbb3df33e4ee10d4e73fde0c6e934
base: added national roaming info for Pepephone in Spain

Users of Pepephone in Spain (MCC 214 MNC 06) can roam on Vodafone ES (MCC 214 MNC 01).

Change-Id: I462e8b6bc7ffdc8bdfc92765178f960c71c8009d
Forward port CM Screen Security settings (1/2)

* Lockscreen Vibrate
* Slide Lock Delay
* Menu Unlock
* Home Unlock
* Variable size pattern lockscreen
* Toggle dots/error pattern visibility

Forward port from cm-10.2, adjusted for 4.4

Change-Id: Ie1ccaec43ca75474e92f96c60e15d7b75796ac5f
frameworks/base: IT translations

Change-Id: I0ddeb31a240c53adf81c361102b033abe5759fd6
systemui: Fix hidden battery icon style

Change-Id: I52a13f4945e2ea654221f73ca1357dc72b4f4cf9
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
systemui: fix circle battery percentage alignment for low dpi devices

This changes replaces the +1px for +1dp for a better center
text inside the circle battery

Change-Id: I71d5e20c20f3125b5affe4fa93986ae4d12a61a1
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Merge "base: added national roaming info for Pepephone in Spain" into cm-11.0
systemui: Use the same color for circle battery than clock color

Patchset 3: Fix code derp

Change-Id: Iaa7b778b705468996079fe600821eeb94a6ecb28
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
SystemUI: Forward port Statusbar Clock and Date actions

Port of http://review.cyanogenmod.org/#/c/27795/4

PS2: Cleanup and address comments
PS3: Remove unused variables
PS4: Remove unused imports
PS5: Declare AP_PM_STYLE final
PS6: Add in @drawable/ic_notify_button_bg to header
PS7: Fix DateView layout. Clear activity stack

Begin old commit message-----------

Patch set 1-2: Initial port
Patch set 3  : Fixes date click action
Patch set 4  : Remove unused import

Includes:
- Add onClick action to notification clock and date
  In expanded StatusBar
  - clicking clock opens alarms
  - clicking date opens calendar - today selected
  Id: I850732dcca0e65af59ce009aaf9f7ba18bcaf915

- Add onLongClick action to notication clock and date
  - As discussed with ciwrl on google+, LongClick opens DateTimeSettings
  - Moved on-touch color change to superior xml solution, as suggested by
    Andrew Boren <preludedrew@gmail.com> here: http://review.evervolv.com/#/c/3676/"
  Id: I1fae71e347ffcb786227ba0b2651a66f2df35e27

- Add SET_ALARM permission for SystemUI
  If one or more third-party alarm clock app is installed, clicking clock should
  open an app chooser for the alarm clock. However, permission for
  com.android.alarm.permission.SET_ALARM is required to make this behaviour
  work properly.

Change-Id: I8006e57a953fe0c4be480e0aa27a4c28c672f982
Merge "SystemUI: Forward port Statusbar Clock and Date actions" into cm-11.0
BatteryService: Restore the original parcel order

Append the dock extensions to the end of the parcel to preserve
compatibility with the original parcel format.

Change-Id: I92112e244ab85d6c93e8e5ebf37de8257af6413a
Merge "systemui: fix circle battery percentage alignment for low dpi devices" into cm-11.0
Merge "systemui: Fix hidden battery icon style" into cm-11.0
Merge "systemui: Use the same color for circle battery than clock color" into cm-11.0