resume: fix recents showing up when waking the device with the home button

The previous fix, resolved the problem most of the time, but the home
long press would still happen once in a while during resume from RAM.

This is probably still somewhat dependent on timing but the notifyKey
runs immediately first thing after resume, so this fix should solve the
problem completely and it should be enough.

Signed-off-by: Andrea Arcangeli <andrea@cpushare.com>
Status bar: Make CM status icon customisations respect lights out mode

Change-Id: Ifa03220ec14eaa33f9da61fd0df3658a1c70e47b
SamsungCDMAQualcommRIL: Update misleading comments.

	- Explain purpose of extension.

Change-Id: If1ee332967823f280d97e67f7ed0b5aff9614777
telefony: SonyQualcommRIL: misc update

* Check call status before validating data call state
* Add RIL_UNSOL_DATA_NETWORK_STATE_CHANGED string to RIL

Change-Id: I620b81b12b50ca81a52573e773f96127e24ab23e
Merge "resume: fix recents showing up when waking the device with the home button" into jellybean
Frameworks-base: Fix dock audio when the name it's not "dock"

Adds support for more names in dock switch. This is needed on
devices where the name that came from the kernel it's not "dock".
Without this, the dock is detected as a headset on such devices,
and audio it's not routed correctly.

Change-Id: I26d548e4a8c269419ac012ff85ff61d228dc4127
Merge "Status bar: Make CM status icon customisations respect lights out mode" into jellybean
audio: VOIP bringup and support for vocoders

Change-Id: I601d72866baa9846263831664dc6e68cad72625c
Make "SD Card removed" notification dismissible if the removed SD Card is not the primary storage

The Galaxy S uses the "external SD Card" as the extended storage
and it the notification should be dismissible as it's okay not
to have it.

Additionally, this patch also not hide the USB storage mount dialog
if the removed storage is not the primary storage

Change-Id: I524b294c57ba80f19cf1af808af65ce1308f5a0b
Merge "SamsungCDMAQualcommRIL: Update misleading comments." into jellybean
Lockscreen : Update camera availability check

Make the default availability of the target dependant on the
availability of a camera rather than the presense of a predefined resource.

Also update .Camera to .CameraLauncher since that is what we default too.

Change-Id: Ib3f06cc76fb7f7df20ec632051d5dbe754a9c69e
Cleanup dock battery support

Send an intent as soon as the device is undocked to get a timely update
of the SystemUI.

Adds a proper implementation of dock detection in BatteryService via
"dock_battery/device/ec_dock". This will probably have to be rewritten
in a more generic way to support other manufacturers as well (once we
support other docks at all).

Change-Id: Ib1088c118c8695fd93ba085d976ca1eb374ae71e
telephony: CdmaServiceStateTracker: get cdma subscription when ruim ready.

this code made the assumption that cdma subscription isnt needed when on cdma + lte.
qcom devices need to get both to provision properly because some SIM records are missing.

this patch adds a system property ro.cdma.subscribe_on_ruim_ready to specify that
CDMA subscription should be requested using NV once the SIM records have been read

Change-Id: Ide5aed9c811890d422bd6be33170fc98116893ed
SystemUI: Use config_screenBrightnessDim for min brightness

Replaces android.os.PowerManager.BRIGHTNESS_DIM (hardcoded to
20) to match slider values in brightness preferences and overlayed
configuration.

Change-Id: Ia586bd90eaadea8c47c7a850745891bc535d0081
Status Bar Brightness Control: Set brightness by long press the status bar

Sliding your finger on the status bar will continue to function.
See: http://review.cyanogenmod.com/#/c/18625
See: http://review.cyanogenmod.com/#/c/18870

Change-Id: I7bd7c64dc25038e1151b83ec07cc2c7c856f9359
PT-BR: Added Missing Translations

Change-Id: Ifb8c0b978fbbf3f35120ae31ed98b06fbc8c7ee6
Merge "telefony: SonyQualcommRIL: misc update" into jellybean
Services: Adding HSPAP info in Android

HSPA+ management is missing in GPS Loc service.

Change-Id: If828c1b078d5989f501c3eb917a573a6db773453
Author: Arun Ravindran <arun.ravindran@intel.com>
Signed-off-by: Arun Ravindran <arun.ravindran@intel.com>
Signed-off-by: Regnier, PhilippeX <philippex.regnier@intel.com>
Singed-off-by: Shuo Gao <shuo.gao@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 41786
Framework: Fix comment text derp

Change-Id: Ie4ce110a9473278ba685cae346d5c87f3f089f9e
Merge "Framework: Fix comment text derp" into jellybean