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
Fix compile error on QCOM targets

Change-Id: Iba8e51ad935c2562250c08786930b34413a2b877
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 branch 'jellybean' of git://github.com/CyanogenMod/android_frameworks_base into jellybean