Custom LED notification (1/2)
Custom LED notification (1/2 framework)

Change-Id: If0b0a70d495dae63bea7fe61940f7803b97514c1

Conflicts:
	core/java/android/provider/Settings.java
	services/java/com/android/server/NotificationManagerService.java

Fix notification led regex typo

Change-Id: I7bfeacf6d51a554063492adee58e9162086f36a1

Notification light(LED) settings: package mapping

Credit for this code goes to Marko Mihovilic

This commit allows for framework side override of the application
package name set for Notification light led overrides.  This is used
in cases where the user selectable application sends its notifications
via another package.

Specifically:  GTalk (com.google.android.talk) sends notifications via the
Google services framework (com.google.android.gsf).

Patch set 2  - fix derp and whitespace cleanup
Patch set 4  - fixed another derp
Patch set 5  - fixes typo in comment
Patch set 6  - remove Log.d line
Patch set 7  - allow specifying default values in application notification
               overrides

Change-Id: I0c13ae3acefa0bcb4ffb46ea7eae301081d9f8f6

Conflicts:
	core/res/res/values/arrays.xml
	services/java/com/android/server/NotificationManagerService.java

Fix custom LED values string

Change-Id: I8c44ec327f752932d9200142a620d577b6850804

Add "Pulse low battery light" switch.

Implements the framework portion of an optional "Pulse low battery light"
switch, which allows the pulsing low battery LED to be disabled.  The
function and implementation of this switch is analogous to (and borrowed
from) the "Pulse notification light" switch.

This is motivated by devices (e.g., epicmtd) featuring a battery charging
LED, where the LED does not support pulsing in hardware and relies on a
kernel (CPU) timer to implement the pulse capability.  On these devices,
pulsing the LED requires waking the CPU from suspend on every LED on/off
event, substantially reducing the proportion of time the CPU can suspend,
and thus, substantially increasing power consumption.

Therefore, when the these devices reach the low battery threshold, their
power consumption, ironically, increases measurably in order to pulse the
battery charging LED, which lowers battery life and increases the
likelihood of a low-battery shutdown if the user cannot charge the device
in a timely fashion.  This switch allows the user to disable the pulsing
low battery LED in order to maximize their low battery charge.

Change-Id: I3a5c8938fd7c444c90b2af123e683982c614cd6e

Conflicts:
	core/java/android/provider/Settings.java
	services/java/com/android/server/BatteryService.java

Battery Light: Add ability to configure (Part 1 of 2)

Adds Quiet hours support and ability to configure the led if the
device supports multiple colors for the Light - enabled via overlay
with default as 'false'

Change-Id: I905dde400ba0780066f2b2a20142eaa27e158655

Conflicts:
	core/java/android/provider/Settings.java
	services/java/com/android/server/BatteryService.java

Framework: Add Missed call and Voicemail to notification light settings (2/3)

This commit adds the ability to store the configured missed call and voicemail
light settings

Requires Part 1 (Settings) and Part 3 (Phone) commits

Change-Id: I726cbad5c0f9f7d4f84091eeb747c21567ce443e

NotificationManagerService: Fix notification led bug

We can assume that if the user turned the screen off while there was
still an active notification then they wanted to keep the notification
for later. In this case we shouldn't flash the notification light.

The problem for some special notifications (such as missed calls)
is that the screen is automatically turned on, and then when it is
turned back off the led does not get enabled. For these notifications
we use a flag to force the notification light even if the screen was
turned off.