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>
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
Fix ResTable_config::CONFIG_* typo (MCC vs MNC)

In commit 08d5b8f, the ResTable_config::CONFIG_* enum was incorrectly
changed to assign the same value to both CONFIG_MCC and CONFIG_MNC:
    - CONFIG_MCC = 0x0001,
    - CONFIG_MNC = 0x0002,
    + CONFIG_MCC = ACONFIGURATION_MCC,
    + CONFIG_MNC = ACONFIGURATION_MCC,

This commit assigns CONFIG_MNC the value ACONFIGURATION_MNC, as
intended.

Change-Id: I3b8799914a55debdb3ff30a82ada7ad990c49970
Merge branch 'cm-11.0' of https://github.com/CyanogenMod/android_frameworks_base into CyanogenMod-cm-11.0

Conflicts:
	packages/SystemUI/src/com/android/systemui/BatteryMeterView.java
	packages/SystemUI/src/com/android/systemui/statusbar/policy/Clock.java
	packages/SystemUI/src/com/android/systemui/statusbar/policy/DateView.java

	modified:   core/java/android/os/BatteryProperties.java
	new file:   core/res/res/values-mcc214-mnc06/config.xml
	modified:   include/androidfw/ResourceTypes.h
	modified:   packages/SystemUI/res/layout/status_bar_expanded_header.xml
	modified:   packages/SystemUI/src/com/android/systemui/BatteryMeterView.java
	modified:   packages/SystemUI/src/com/android/systemui/statusbar/policy/Clock.java
	modified:   packages/SystemUI/src/com/android/systemui/statusbar/policy/DateView.java
Merge branch 'CyanogenMod-cm-11.0' into cm-11.0